[media] gspca_zc3xx: Always automatically adjust BRC as needed
authorHans de Goede <hdegoede@redhat.com>
Sun, 6 May 2012 12:28:25 +0000 (09:28 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 14 May 2012 12:34:56 +0000 (09:34 -0300)
commit55db765c54cd9506524c2945e3905fcf9215ea71
treea3ea42e5377da4c26a364d1d84174f3b6dca6ecf
parent83fb2e2eaae5a3b4b3503f1e305451ed9d1a3761
[media] gspca_zc3xx: Always automatically adjust BRC as needed

Always automatically adjust the Bit Rate Control setting as needed, independent
of the sensor type. BRC is needed to not run out of bandwidth with higher
quality settings independent of the sensor.

Also only automatically adjust BRC, and don't adjust the JPEG quality control
automatically, as that is not needed and leads to ugly flashes when it is
changed. Note that before this patch-set the quality was never changed
either due to the bugs in the quality handling fixed in previous patches in
this set.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/zc3xx.c