[FFmpeg-devel] [PATCH 3/5] lavf: replace FFERROR_REDO with AVERROR(EAGAIN)
Nicolas George
george at nsup.org
Tue Nov 8 14:54:53 EET 2022
Anton Khirnov (12022-11-08):
> There is no meaningful distinction between them, both mean "the demuxer
> did some work, but did not produce a packet - should be called again".
NAK, there a difference in semantics: AVEROR(EAGAIN) is for when data is
not available for external reasons, typically network blocking,
AVERROR_REDO is for when data is available and the demuxer will read it
as soon as it is restarted, just to avoid having a loop in the demuxer.
--
Nicolas George
More information about the ffmpeg-devel
mailing list