PATCH: gspca-pac207-framesize.patch
Hi,
The pac207 only does compression when the usb bandwidth mandates it, so when in full ress mode but doing low framerates (high exposure) setting it does not compress. Adjust full res bufsize for this, otherwise things stop working when the framerate gets too low.
Signed-off-by Hans de Goede <[email protected]>
Regards,
Hans
The pac207 only does compression when the usb bandwidth mandates it, so when in full ress mode but doing low framerates (high exposure) setting it does not compress. Adjust full res bufsize for this, otherwise things stop working when the framerate gets too low.
Signed-off-by Hans de Goede <[email protected]>
linux/drivers/media/video/gspca/pac207.c +3 -1
@@ -166,7 +166,9 @@ .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}, };
--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list