V4L/DVB (13182): gspca w9968cf: slight tweak to vstart and hstart
authorHans de Goede <hdegoede@redhat.com>
Mon, 19 Oct 2009 09:47:03 +0000 (06:47 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Dec 2009 20:40:46 +0000 (18:40 -0200)
gspca w9968cf: slight tweak to vstart and hstart to get rid of black borders
in 640x480 mode.

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

index 7378f0495082c56b25591bf3d526b73ae697f084..4f9add79ce13e7de9fbf29357bd60da8c1bc3fbb 100644 (file)
@@ -442,11 +442,11 @@ static int w9968cf_set_crop_window(struct sd *sd)
                /* Sigh, this is dependend on the clock / framerate changes
                   made by the frequency control, sick. */
                if (sd->freq == 1) {
-                       start_cropx = 279;
-                       start_cropy = 35;
+                       start_cropx = 277;
+                       start_cropy = 37;
                } else {
-                       start_cropx = 103;
-                       start_cropy = 35;
+                       start_cropx = 105;
+                       start_cropy = 37;
                }
        } else {
                start_cropx = 320;