[FFmpeg-devel] [PATCH] V4L2 wait for new frames
samuli.valo at picturall.com
Wed Aug 10 13:24:55 CEST 2011
Current v4l2 implementation doesn't wait for new frames to be ready
before calling VIDEOC_DQBUF. This resulted in reading incomplete
frames or same frame multiple times with at least one v4l2 capture
card (reading ~80fps from ~60fps source).
Attached patch adds poll() call before DQBUF to wait until filled
buffers become available as suggested on v4l2 specs.
* Samuli Valosamuli.valo at picturall.com
* Picturall Ltd. gsm: +358 40 582 9016
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1102 bytes
Desc: not available
More information about the ffmpeg-devel