aboutsummaryrefslogtreecommitdiffstats
path: root/fftools/cmdutils.c
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2024-08-07 17:48:06 +0200
committerMatthieu Bouron <matthieu.bouron@gmail.com>2024-08-17 09:03:05 +0200
commitc779766b5cb940fdf2170c1ad12eacaf62eaf1d0 (patch)
tree7c8b1f1184a3269c6ff04b75a165093feecd3978 /fftools/cmdutils.c
parent817c6a6762696e6efee44ddc4e2d706922b880e0 (diff)
downloadffmpeg-c779766b5cb940fdf2170c1ad12eacaf62eaf1d0.tar.gz
avcodec/mediacodecdec: call MediaCodec.stop on close
Usually the MediaCodec context will be released immediately, or it needs to stay alive due to existing hardware buffers. However we can free resources early in the case of hw_buffer_count == 0 && refcount > 1, which can be reproduced by keeping frames referenced after flushing and closing. mpv currently behaves like this. Signed-off-by: sfan5 <sfan5@live.de> Signed-off-by: Matthieu Bouron <matthieu.bouron@gmail.com>
Diffstat (limited to 'fftools/cmdutils.c')
0 files changed, 0 insertions, 0 deletions