diff options
author | Seungha Yang <seungha@centricular.com> | 2020-10-06 03:47:42 +0900 |
---|---|---|
committer | Seungha Yang <seungha@centricular.com> | 2020-10-06 19:21:36 +0900 |
commit | 89bb244ab9fe57645c8da2ac7b267a0469048e4e (patch) | |
tree | b84136be1f683fd0d5b774133ff0a37ca5ca849e /tests | |
parent | e30cef412942f945fe13e5d819fdddcf6915fd53 (diff) | |
download | gst-libav-89bb244ab9fe57645c8da2ac7b267a0469048e4e.tar.gz |
avaudenc/avvidenc: Reopen encoding session if it's required
Since the commit https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/22b25b3ea5c,
ffmpeg will not clear draning flag for encoder by avcodec_flush_buffers() API
by default. Allowed case is only if encoder has AV_CODEC_CAP_ENCODER_FLUSH
capability flag. If it's not supported, we should re-open encoding
session, otherwise ffmpeg encoder will keep returning AVERROR_EOF
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-libav/-/merge_requests/99>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions