[FFmpeg-devel] [PATCH] mediacodecdec_common: enable refcounting of buffers unconditionally

sfan5 sfan5 at live.de
Sun Sep 18 21:26:48 EEST 2022


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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-mediacodecdec_common-enable-refcounting-of-buffers-u.patch
Type: text/x-patch
Size: 1879 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20220918/1821ee1d/attachment.bin>


More information about the ffmpeg-devel mailing list