diff options
author | Hans de Goede <j.w.r.degoede@hhs.nl> | 2008-09-04 16:22:56 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-09-04 16:22:56 -0300 |
commit | bf2a2202f75cda679303f09d150f9549f9835953 (patch) | |
tree | 5f5d6b2466e573b920fffa83c5d3eff1f59346d1 /drivers/macintosh/via-maciisi.c | |
parent | a94a508691d16420ad10572a33db4d45115b5f75 (diff) |
V4L/DVB (8870): gspca: Fix dark room problem with sonixb.
When using the sonixb driver in a dark room and given that the autoexposure
algorithm starts with a setting most suitable for daylight, the picture
produced by the cam may actually be 100% black leading to a avg_lum value of 0,
so an avg_lum value of 0 does not always signal an exposure settings change
(which it normally does). This patch adds a check for the really black image
case and stops dropping all frames as invalid in this case.
Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/macintosh/via-maciisi.c')
0 files changed, 0 insertions, 0 deletions