Hi Luc, On Tue, 2006-02-21 at 20:37 +0100, Luc Saillard wrote: > > Attached is a patch that fixes a small bug in VIDIOC_S_FMT where the > > resolution and length returned by the ioctl are that of the image and > > not the view (the image + border). > > Just to be sure, it's only needed for v4l1 application ? I'll apply the > patch.
It's for V4L2 apps that use read(), and use the value fmt.pix.sizeimage to set the size of the read buffer. This value was too small if a border is present because it was calculated from the image size and not the whole view. I don't think this affects V4L1 apps. -Phil <[EMAIL PROTECTED]> _______________________________________________ pwc mailing list [email protected] http://lists.saillard.org/mailman/listinfo/pwc
