[FFmpeg-devel] [PATCH 3/3] lavf/flvdec: use AVERROR_REDO instead of AVERROR(EAGAIN).
george at nsup.org
Fri Nov 27 13:53:33 CET 2015
Le septidi 7 frimaire, an CCXXIV, wm4 a écrit :
> I might not be familiar with flvdec in particular. Can you explain me
> how Matroska could be switched to non-blocking?
It can not, and this has NOTHING to do with the current discussion.
Non-blocking mode requires the demuxer to be able to stop at ANY position in
the octet stream, it is very hard to achieve.
What was evoked here was a low-latency mode, where the demuxer returns as
soon as CONVENIENTLY possible.
I am not familiar enough with the Matroska demuxer, which seems rather
convoluted, to tell how it could be changed.
> I'm trying to prevent that people add more complex special cases
> libavformat/utils.c. One special case is not a tragedy, but millions of
> special-cases interacting are an unmaintainable mess.
I am not trying to add millions of special-cases, just one. Since you
pretend you are not making a "slippery slope" fallacy, explain what these
millions are about.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: Digital signature
More information about the ffmpeg-devel