Changeset c779766 in ffmpeg

Timestamp:
Aug 17, 2024, 7:03:05 AM (4 months ago)
Author:
Matthieu Bouron <matthieu.bouron@gmail.com>
Branches:
master
Children:
a31106d8
Parents:
817c6a6
git-author:
sfan5 <sfan5@live.de> (08/07/24 15:48:06)
git-committer:
Matthieu Bouron <matthieu.bouron@gmail.com> (08/17/24 07:03:05)
Message:

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>

(No files)

Note: See TracChangeset for help on using the changeset viewer.