diff options
author | Arthur Grillo <arthurgrillo@riseup.net> | 2025-04-10 19:59:15 -0300 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2025-04-16 13:09:02 +0200 |
commit | 2fedb29780f4a47957467d4a4831efe69993f615 (patch) | |
tree | 8081b62bbf57de27563fbd0f61b97e41ed28708a /libavutil/hwcontext_vulkan.c | |
parent | 50910c32c548c1589cc4d949a209c5b7eba7d7ae (diff) | |
download | ffmpeg-2fedb29780f4a47957467d4a4831efe69993f615.tar.gz |
avformat/fifo: Check for keyframe video type before stop dropping
The current behavior when using restart_with_keyframe is that it will
recover if it also encounters any audio packet, as they are flagged as a
keyframe.
The expectation is that packets are dropped until the next _video_
keyframe.
To fix that, check if exists a video stream, if it exists check the
packet stream codec type, only letting it recover when it is a video
one. If there is no video stream, resume to the original behavior, not
checking the codec type.
Fixes ticket: #11467
Signed-off-by: Arthur Grillo <arthurgrillo@riseup.net>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavutil/hwcontext_vulkan.c')
0 files changed, 0 insertions, 0 deletions