[FFmpeg-devel] [PATCH] V4L2 compliance: Make sure VIDIOC_S_INPUT is called before querying/setting any input properties
Michael Niedermayer
michaelni at gmx.at
Wed Jan 11 21:23:45 CET 2012
On Wed, Jan 11, 2012 at 08:01:25PM +0100, Rupert Eibauer wrote:
> Hello,
>
> This solves a problem with a V4L device which supports different inputs.
> The problem is that the different inputs have different resolutions, and
> the device cannot do image scaling.
> This is what happened:
> - ffmpeg calls VIDIOC_S_FMT with the resolution we specified on the
> command line.
> - The driver responds with a resolution which is correct for the default
> input.
> - ffmpeg calls VIDIOC_S_INPUT, and the driver switches to the resolution
> supported by that input.
> - Now we have a problem: ffmpegs idea about the image resolution is wrong.
>
>
> The patch below fixes that problem. Please apply it.
The patch looks like its linebreaks where messed up
> It is for 0.8.9, because this is the version I am currently using. 0.9.1
> and git do not compile because of some asm errors.
please report the asm issue, so it can be fixed
Thanks
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
There seems to be only one solution to NIH syndrom, ... a shooting squad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120111/380076f3/attachment.asc>
More information about the ffmpeg-devel
mailing list