[media] gspca - sn9c20x: Add the JPEG compression quality control
authorJean-François Moine <moinejf@free.fr>
Mon, 19 Mar 2012 07:35:34 +0000 (04:35 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 20 Mar 2012 01:30:20 +0000 (22:30 -0300)
commit4c632e4e51e5d89af75ecf3e958988658c01294f
tree47d8cd9aeb262e3038c517ebe816353f7a847b9a
parent92884f80b7e5f8d0ffd725a251c81dd45e9e6eb0
[media] gspca - sn9c20x: Add the JPEG compression quality control

The JPEG compression quality was hardcoded to 95%. This value was too big,
raising often buffer overflows.
This quality is now 80% by default and is settable.

Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/sn9c20x.c