[FFmpeg-devel] [PATCH 3/3] lavf/flvdec: use AVERROR_REDO instead of AVERROR(EAGAIN).

Nicolas George 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.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151127/40386afb/attachment.sig>


More information about the ffmpeg-devel mailing list