[FFmpeg-devel] [PATCH] ffprobe: do not exit in case the demuxer returns AVERROR(EAGAIN)
nfxjfg at googlemail.com
Fri Nov 20 17:52:55 CET 2015
On Fri, 20 Nov 2015 17:09:50 +0100
Nicolas George <george at nsup.org> wrote:
> Le decadi 30 brumaire, an CCXXIV, wm4 a écrit :
> > Not sure why you argue for a better API. The semantics are to block
> > until there's a new packet, or EOF. That's it.
> Did you not realize yet that blocking APIs are unsuited for any complex
> application? Even ffmpeg.c suffers from this, and it is not very complex
> with regard to I/O.
Uh what? Blocking I/O is perfectly fine, especially for something like
a demuxer, or something that does file I/O. Just use threads.
But this has absolutely nothing to do with the problem at hand.
More information about the ffmpeg-devel