[PATCH yavta 2/3] Print numerical control type for unsupported types

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx>
---
 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




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux