[FFmpeg-devel] [PATCH] mediacodecdec_common: enable refcounting of buffers unconditionally
Matthieu Bouron
matthieu.bouron at gmail.com
Wed Sep 28 12:35:30 EEST 2022
On Wed, Sep 28, 2022 at 10:27:49AM +0200, Anton Khirnov wrote:
> Quoting sfan5 (2022-09-18 20:26:48)
> > This allows av_mediacodec_release_buffer to be called safely after
> > the decoder is closed, this was already the case with delay_flush=1.
> > Note that this causes holding onto frames to keep the decoding context
> > alive which is generally considered to be the intended behavior
> >
> >
> > (resending as my patch got mangled somehow)
>
> The patch looks like it makes sense, but I have no experience with this
> code. CCing the maintainer, will push in a few days if nobody objects.
Sorry for the wait, the patch looks good to me.
Thanks,
Matthieu
More information about the ffmpeg-devel
mailing list