[media] gspca - spca1528: Change the JPEG quality of the images
authorJean-François Moine <moinejf@free.fr>
Fri, 23 Sep 2011 07:20:29 +0000 (04:20 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 24 Sep 2011 02:30:39 +0000 (23:30 -0300)
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>
drivers/media/video/gspca/spca1528.c

index f7c70a2c0778736cc089d5fcff02e05cce8e8744..b7e8d408c989d3dd681291cd6564bb9767037f9f 100644 (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,
                        0x22);          /* JPEG 411 */
 
-       /* the JPEG quality seems to be 82% */
-       jpeg_set_qual(sd->jpeg_hdr, 82);
+       /* the JPEG quality shall be 85% */
+       jpeg_set_qual(sd->jpeg_hdr, 85);
 
        /* set the controls */
        setbrightness(gspca_dev);