The patch number 10712 was added via Hans Verkuil <[email protected]>
to http://linuxtv.org/hg/v4l-dvb master development tree.

Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel

If anyone has any objections, please let us know by sending a message to:
        Linux Media Mailing List <[email protected]>

------

From: Hans Verkuil  <[email protected]>
zoran: fix G_FMT


Returned height was really height / 2.

Priority: normal

Signed-off-by: Hans Verkuil <[email protected]>


---

 linux/drivers/media/video/zoran/zoran_driver.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -r 29653d606838 -r e87f288d40bb 
linux/drivers/media/video/zoran/zoran_driver.c
--- a/linux/drivers/media/video/zoran/zoran_driver.c    Wed Feb 18 21:11:17 
2009 +0100
+++ b/linux/drivers/media/video/zoran/zoran_driver.c    Wed Feb 18 21:12:34 
2009 +0100
@@ -2084,7 +2084,7 @@ static int zoran_g_fmt_vid_out(struct fi
        mutex_lock(&zr->resource_lock);
 
        fmt->fmt.pix.width = fh->jpg_settings.img_width / 
fh->jpg_settings.HorDcm;
-       fmt->fmt.pix.height = fh->jpg_settings.img_height /
+       fmt->fmt.pix.height = fh->jpg_settings.img_height * 2 /
                (fh->jpg_settings.VerDcm * fh->jpg_settings.TmpDcm);
        fmt->fmt.pix.sizeimage = zoran_v4l2_calc_bufsize(&fh->jpg_settings);
        fmt->fmt.pix.pixelformat = V4L2_PIX_FMT_MJPEG;


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/e87f288d40bb5403090f4e468bfccc86737a193a

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to