The branch, master has been updated
via bce14bb1603a8333d46e5ac9b36ca2caa189ee43 (commit)
from 041d4f010e9fd73d661b2fc48309dd7f548a1481 (commit)
- Log -----------------------------------------------------------------
commit bce14bb1603a8333d46e5ac9b36ca2caa189ee43
Author: Lynne <[email protected]>
AuthorDate: Wed Dec 3 21:21:16 2025 +0100
Commit: Lynne <[email protected]>
CommitDate: Wed Dec 3 21:22:54 2025 +0100
hwcontext_vulkan: fix compilation with older header versions
diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c
index ebbb175b6e..2fc66a0cea 100644
--- a/libavutil/hwcontext_vulkan.c
+++ b/libavutil/hwcontext_vulkan.c
@@ -2569,7 +2569,7 @@ static int switch_layout_host(AVHWFramesContext *hwfc,
FFVkExecPool *ectx,
VkResult ret;
VulkanDevicePriv *p = hwfc->device_ctx->hwctx;
FFVulkanFunctions *vk = &p->vkctx.vkfn;
- VkHostImageLayoutTransitionInfo layout_change[AV_NUM_DATA_POINTERS];
+ VkHostImageLayoutTransitionInfoEXT layout_change[AV_NUM_DATA_POINTERS];
int nb_images = ff_vk_count_images(frame);
VkImageLayout new_layout;
@@ -2585,7 +2585,7 @@ static int switch_layout_host(AVHWFramesContext *hwfc,
FFVkExecPool *ectx,
return AVERROR(ENOTSUP);
for (i = 0; i < nb_images; i++) {
- layout_change[i] = (VkHostImageLayoutTransitionInfo) {
+ layout_change[i] = (VkHostImageLayoutTransitionInfoEXT) {
.sType = VK_STRUCTURE_TYPE_HOST_IMAGE_LAYOUT_TRANSITION_INFO,
.image = frame->img[i],
.oldLayout = frame->layout[i],
-----------------------------------------------------------------------
Summary of changes:
libavutil/hwcontext_vulkan.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]