mirror of https://github.com/FFmpeg/FFmpeg.git
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>release/7.1
parent
817c6a6762
commit
c779766b5c
1 changed files with 12 additions and 0 deletions
Loading…
Reference in new issue