This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit c4b4a9c0ea46adaef2f046e1bbe888e4a5f188d4 Author: Lynne <[email protected]> AuthorDate: Mon Aug 10 14:46:31 2026 +0900 Commit: Lynne <[email protected]> CommitDate: Sat Aug 15 18:02:17 2026 +0900 vulkan_encode_h264: disable B-frames for baseline profiles Baseline only permits I and P slices, yet streams declaring constraint_set1_flag contained B-slices. --- libavcodec/vulkan_encode_h264.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libavcodec/vulkan_encode_h264.c b/libavcodec/vulkan_encode_h264.c index a1b8d30ede..a35fd6cf07 100644 --- a/libavcodec/vulkan_encode_h264.c +++ b/libavcodec/vulkan_encode_h264.c @@ -1480,6 +1480,12 @@ static av_cold int vulkan_encode_h264_init(AVCodecContext *avctx) return err; flags = ctx->codec->flags; + + /* Baseline profiles have no B-slices */ + if (avctx->profile == AV_PROFILE_H264_BASELINE || + avctx->profile == AV_PROFILE_H264_CONSTRAINED_BASELINE) + flags &= ~(FF_HW_FLAG_B_PICTURES | FF_HW_FLAG_B_PICTURE_REFERENCES); + if (!enc->caps.maxPPictureL0ReferenceCount && !enc->caps.maxBPictureL0ReferenceCount && !enc->caps.maxL1ReferenceCount) { _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
