[media] gspca - spca1528: Change the JPEG quality of the images

The JPEG quality was guessed as around 82%. Information in ms-win drivers
says it should be 85%.

Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Jean-François Moine 2011-09-23 04:20:29 -03:00 committed by Mauro Carvalho Chehab
parent 0dd8269627
commit 3e12950d86

View File

@ -365,8 +365,8 @@ static int sd_start(struct gspca_dev *gspca_dev)
jpeg_define(sd->jpeg_hdr, gspca_dev->height, gspca_dev->width, jpeg_define(sd->jpeg_hdr, gspca_dev->height, gspca_dev->width,
0x22); /* JPEG 411 */ 0x22); /* JPEG 411 */
/* the JPEG quality seems to be 82% */ /* the JPEG quality shall be 85% */
jpeg_set_qual(sd->jpeg_hdr, 82); jpeg_set_qual(sd->jpeg_hdr, 85);
/* set the controls */ /* set the controls */
setbrightness(gspca_dev); setbrightness(gspca_dev);