pwc
[Top] [All Lists]

Re: [pwc] [PATCH] VIDIOC_S_FMT resolution mismatch

To:
Subject: Re: [pwc] [PATCH] VIDIOC_S_FMT resolution mismatch
From: Philip Heron <>
Date: Wed, 22 Feb 2006 00:36:33 +0000
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 <>


_______________________________________________
pwc mailing list

http://lists.saillard.org/mailman/listinfo/pwc

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU