All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] v4l2_ctrl_get_name(): add missing control names, and make title for V4L2_CID_BG_COLOR consistent
@ 2010-03-14 17:28 Frank Schaefer
  0 siblings, 0 replies; only message in thread
From: Frank Schaefer @ 2010-03-14 17:28 UTC (permalink / raw)
  To: linux-media

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>

diff --git a/drivers/media/video/v4l2-common.c
b/drivers/media/video/v4l2-common.c
index 36b5cb8..e679834 100644
--- a/drivers/media/video/v4l2-common.c
+++ b/drivers/media/video/v4l2-common.c
@@ -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";
-- 
1.6.0.2

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-03-14 17:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-14 17:28 [PATCH] v4l2_ctrl_get_name(): add missing control names, and make title for V4L2_CID_BG_COLOR consistent Frank Schaefer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.