The patch number 8202 was added via Jean-Francois Moine <[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:
        [EMAIL PROTECTED]

------

From: Hans de Goede  <[EMAIL PROTECTED]>
gspca: PAC207 frames may be not compressed.


pac207:   Set the sizeimage to the max value for 352x288.

Signed-off-by: Hans de Goede <[EMAIL PROTECTED]>
Signed-off-by: Jean-Francois Moine <[EMAIL PROTECTED]>


---

 linux/drivers/media/video/gspca/pac207.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff -r 3bbf8991628b -r e1b5b6f326ba linux/drivers/media/video/gspca/pac207.c
--- a/linux/drivers/media/video/gspca/pac207.c  Sat Jul 05 13:49:20 2008 +0200
+++ b/linux/drivers/media/video/gspca/pac207.c  Sun Jul 06 08:40:55 2008 +0200
@@ -166,7 +166,9 @@ static struct v4l2_pix_format sif_mode[]
                .priv = 1},
        {352, 288, V4L2_PIX_FMT_PAC207, V4L2_FIELD_NONE,
                .bytesperline = 352,
-               .sizeimage = 352 * 288 / 2,     /* compressed */
+                       /* compressed, but only when needed (not compressed
+                          when the framerate is low) */
+               .sizeimage = (352 + 2) * 288,
                .colorspace = V4L2_COLORSPACE_SRGB,
                .priv = 0},
 };


---

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

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to