The patch number 14255 was added via h...@rhel5-devel.localdomain
to http://linuxtv.org/hg/v4l-dvb master development tree.

Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel

If anyone has any objections, please let us know by sending a message to:
        Linux Media Mailing List <linux-me...@vger.kernel.org>

------

From: Hans de Goede  <hdego...@redhat.com>
libv4l: Fix a bug in sw autogain for cams whose exposure minimum != 0


libv4l: Fix a bug in sw autogain for cams whose exposure minimum != 0

Priority: normal

Signed-off-by: Hans de Goede <hdego...@redhat.com>


---

 v4l2-apps/libv4l/libv4lconvert/processing/autogain.c |    1 +
 1 file changed, 1 insertion(+)

diff -r 40cd939a9b2f -r c195169e4df1 
v4l2-apps/libv4l/libv4lconvert/processing/autogain.c
--- a/v4l2-apps/libv4l/libv4lconvert/processing/autogain.c      Fri Oct 09 
10:53:28 2009 +0200
+++ b/v4l2-apps/libv4l/libv4lconvert/processing/autogain.c      Sun Oct 11 
10:15:57 2009 +0200
@@ -65,6 +65,7 @@
   /* If we have a fine grained exposure control only avoid the last 10 steps */
   if (exposure_low > 10)
     exposure_low = 10;
+  exposure_low += expoctrl.minimum;
 
   ctrl.id = V4L2_CID_GAIN;
   gainctrl.id = V4L2_CID_GAIN;


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/c195169e4df1b7e05bf1783ea04d911b6a2ccf9b

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to