[FFmpeg-devel] [PATCH 3/5] lavf: replace FFERROR_REDO with AVERROR(EAGAIN)

Anton Khirnov anton at khirnov.net
Tue Nov 8 18:39:25 EET 2022


Quoting Nicolas George (2022-11-08 15:15:39)
> Anton Khirnov (12022-11-08):
> > This is false - there are zero demuxers returning EAGAIN due to network
> > blocking.
> 
> There are devices who return EAGAIN due to device blocking.

Sure, and that's about it. And as I said before - there is no way to
tell when a device will be ready, so this is of very limited usefulness.

> > So there really is no meaningful difference between REDO and EAGAIN.
> 
> There is a difference: REDO is internal, EAGAIN is public.

That is not a meaningful difference. A meaningful difference would be
one that has actionable consequences.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list