libv4l: Enable whitebalance by default for stv0680 based cams
authorHans de Goede <hdegoede@redhat.com>
Fri, 23 Oct 2009 10:07:19 +0000 (12:07 +0200)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 24 Feb 2010 00:44:39 +0000 (21:44 -0300)
Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
lib/libv4lconvert/control/libv4lcontrol.c

index 86cc72c..fe0d6ec 100644 (file)
@@ -227,6 +227,9 @@ static const struct v4lcontrol_flags_info v4lcontrol_flags[] = {
      those we will only do whitebal. see software autogain code enable below */
   { 0x08ca, 0x0111, 0,    NULL, NULL, V4LCONTROL_WANTS_WB_AUTOGAIN },
   { 0x093a, 0x010e, 1,    NULL, NULL, V4LCONTROL_WANTS_WB_AUTOGAIN },
+  /* stv0680 based cams */
+  { 0x0553, 0x0202, 0,    NULL, NULL, V4LCONTROL_WANTS_WB },
+  { 0x041e, 0x4007, 0,    NULL, NULL, V4LCONTROL_WANTS_WB },
 };
 
 static const struct v4l2_queryctrl fake_controls[];