summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-François Moine <moinejf@free.fr>2011-09-23 11:20:29 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-09-24 06:30:39 +0400
commit3e12950d86d695bdaf762476446a60ed5073eedc (patch)
tree62b5113c1e605d571390e04b81c9d1277733f4cf
parent0dd826962716ff6984a14038d1604be816d759c3 (diff)
downloadlinux-3e12950d86d695bdaf762476446a60ed5073eedc.tar.xz
[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>
-rw-r--r--drivers/media/video/gspca/spca1528.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/gspca/spca1528.c b/drivers/media/video/gspca/spca1528.c
index f7c70a2c0778..b7e8d408c989 100644
--- a/drivers/media/video/gspca/spca1528.c
+++ b/drivers/media/video/gspca/spca1528.c
@@ -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);