Skip to content

Commit

Permalink
V4L/DVB: v4l2_ctrl_get_name(): add missing control names, and make ti…
Browse files Browse the repository at this point in the history
…tle 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.31
V4L2_CID_BAND_STOP_FILTER was introduced with kernel 2.6.32

Signed-off-by: Frank Schaefer <fschaefer.oss@googlemail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Frank Schaefer authored and Mauro Carvalho Chehab committed May 18, 2010
1 parent 8889a8a commit a3415c1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/media/video/v4l2-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit a3415c1

Please sign in to comment.