This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 1a64c2773890eacd40504189965de91ebd2eb2e3 Author: Lynne <[email protected]> AuthorDate: Sat Oct 3 17:58:31 2026 +0900 Commit: Lynne <[email protected]> CommitDate: Sat Oct 3 18:02:09 2026 +0900 hwcontext_vulkan: fix uninitialised format features with multiplane disabled For formats whose main and fallback Vulkan formats are the same (planar RGB and YUVA), feats_secondary was never set. With multiplane disabled, vkfmt_from_pixfmt2() returns through the fallback branch, which derives the supported usage from it, so frames contexts got usage flags from leftover data. With disable_multiplane=1, gbrp frames on an RX 6900 XT lost VK_IMAGE_USAGE_TRANSFER_DST_BIT. --- libavutil/hwcontext_vulkan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c index 47c685c6e6..a502b9de1d 100644 --- a/libavutil/hwcontext_vulkan.c +++ b/libavutil/hwcontext_vulkan.c @@ -653,6 +653,7 @@ static int vkfmt_from_pixfmt2(AVHWDeviceContext *dev_ctx, enum AVPixelFormat p, basics_secondary = (feats_secondary & basic_flags) == basic_flags; storage_secondary = !!(feats_secondary & VK_FORMAT_FEATURE_2_STORAGE_IMAGE_BIT); } else { + feats_secondary = feats_primary; basics_secondary = basics_primary; storage_secondary = storage_primary; } -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
