[FFmpeg-devel] [PATCH 31/39] lavc/decode: wrap AV_FRAME_FLAG_DISCARD handling in a loop
Anton Khirnov
anton at khirnov.net
Thu Jul 18 11:14:42 EEST 2024
Quoting Michael Niedermayer (2024-07-17 23:20:19)
> On Tue, Jul 16, 2024 at 07:11:46PM +0200, Anton Khirnov wrote:
> > Makes sure discarded frames do not cause EAGAIN to be returned during
> > flushing, which is forbidden.
> > ---
> > libavcodec/decode.c | 11 ++++++++---
> > 1 file changed, 8 insertions(+), 3 deletions(-)
>
> giving execution back to the user at finer granularity would be better
That's not how our API works, unless I misunderstand what you're
suggesting.
--
Anton Khirnov
More information about the ffmpeg-devel
mailing list