Help diagnosing problems by reporting the type of unsupported control
types instead of just printing "unsupported".

Signed-off-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com>
---
 yavta.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/yavta.c b/yavta.c
index 7d9c40c9f9be..86447f3f057d 100644
--- a/yavta.c
+++ b/yavta.c
@@ -1368,7 +1368,7 @@ static void video_print_control_value(const struct 
v4l2_query_ext_ctrl *query,
                video_print_control_array(query, ctrl);
                break;
        default:
-               printf("unsupported");
+               printf("unsupported type %u", query->type);
                break;
        }
 }
-- 
Regards,

Laurent Pinchart

Reply via email to