v4l2_ctrl_get_name(): add missing control names, and make title for V4L2_CID_BG_COLOR consistent
PATCH 1/1 v4l2_ctrl_get_name(): add missing control names, and make title for V4L2_CID_BG_COLOR consistent
v4l2_ctrl_get_name(): add missing control names, and make title for V4L2_CID_BG_COLOR consistent
V4L2_CID_AUTOBRIGHTNESS was introduced with kernel 2.6.31V4L2_CID_BAND_STOP_FILTER was introduced with kernel 2.6.32
Signed-off-by Frank Schaefer <[email protected]>
(quoted diff) +0 -0
b/drivers/media/video/v4l2-common.c
index 36b5cb8..e679834 100644
drivers/media/video/v4l2-common.c +3 -1
@@ -431,8 +431,10 @@ const char *v4l2_ctrl_get_name(u32 id)case V4L2_CID_CHROMA_AGC :return "Chroma AGC" ;case V4L2_CID_COLOR_KILLER :return "Color Killer" ;case V4L2_CID_COLORFX :return "Color Effects" ; +case V4L2_CID_AUTOBRIGHTNESS :return "Brightness, Automatic" ; +case V4L2_CID_BAND_STOP_FILTER :return "Band-Stop Filter" ;case V4L2_CID_ROTATE :return "Rotate" ; -case V4L2_CID_BG_COLOR :return "Background color" ; +case V4L2_CID_BG_COLOR :return "Background Color" ;/* MPEG controls */ case V4L2_CID_MPEG_CLASS :return "MPEG Encoder Controls" ;
Signature · 1 line
1.6.0.2