libv4l: Check for hardware autogain before enabling software autogain
authorHans de Goede <hdegoede@redhat.com>
Fri, 11 Sep 2009 06:09:17 +0000 (08:09 +0200)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 24 Feb 2010 00:44:39 +0000 (21:44 -0300)
commit67e046f8f7ee502d627799f99a57be4a95204052
tree7704c0cf449b027a8227410bb3442274d7e16a54
parentbb35eeb0154a71f1fba7f0c9ed31e4dbec227ca0
libv4l: Check for hardware autogain before enabling software autogain

Some USB-ID's may use different sensors, and in some cases some of these
sensors have hardware autogain, while others need software autogain. One
example of this is 046d:0840, this patch also enables software autogain for
camera's with this usb id (if the sensor does not have hardware autogain).

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