This is an automated email from the git hooks/post-receive script.
Git pushed a commit to branch master
in repository ffmpeg.
The following commit(s) were added to refs/heads/master by this push:
new ecc7eb519e hwcontext_vulkan: fix possible skip of switch_layout in
prepare_frame
ecc7eb519e is described below
commit ecc7eb519ec8a6625eaec5bb6ba0607980d43c82
Author: vytskalt <[email protected]>
AuthorDate: Sat Sep 5 00:55:46 2026 +0300
Commit: Lynne <[email protected]>
CommitDate: Mon Sep 7 04:38:36 2026 +0000
hwcontext_vulkan: fix possible skip of switch_layout in prepare_frame
---
libavutil/hwcontext_vulkan.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c
index 525c6a7ab9..aa0efdd755 100644
--- a/libavutil/hwcontext_vulkan.c
+++ b/libavutil/hwcontext_vulkan.c
@@ -2691,11 +2691,11 @@ static int prepare_frame(AVHWFramesContext *hwfc,
FFVkExecPool *ectx,
AVVulkanFramesContext *hwfc_vk = hwfc->hwctx;
if (hwfc_vk->usage & VK_IMAGE_USAGE_HOST_TRANSFER_BIT_EXT &&
(pmode != PREP_MODE_EXTERNAL_EXPORT) &&
- (pmode != PREP_MODE_EXTERNAL_IMPORT))
+ (pmode != PREP_MODE_EXTERNAL_IMPORT)) {
err = switch_layout_host(hwfc, ectx, frame, pmode);
-
- if (err != AVERROR(ENOTSUP))
- return err;
+ if (err != AVERROR(ENOTSUP))
+ return err;
+ }
return switch_layout(hwfc, ectx, frame, pmode);
}
--
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]