[FFmpeg-devel] Non blocking av_read_frame

Robert Nagy ronag89 at gmail.com
Fri Jul 6 09:14:36 CEST 2012

It would be nice to have a non-blocking av_read_frame for some
applications. Especially for applications using task-schedulers where
blocking should be avoided.

Maybe something along the lines of the attached patch, which should
work for files and pipes, however I'm not sure how to integrate it
with the rest of the protocols? Is it possible? Or should there be
some form of capabilities flag?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-avio-Add-AVIO_FLAG_NONBLOCKING.patch
Type: application/octet-stream
Size: 1300 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120706/8f640ab1/attachment.obj>

More information about the ffmpeg-devel mailing list