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 63d0237033 avutil/hwcontext_vulkan: Query export support with the real 
image flags
63d0237033 is described below

commit 63d0237033cca9782932b809f960378d34ee4869
Author:     softworkz <[email protected]>
AuthorDate: Thu Aug 6 02:38:45 2026 +0200
Commit:     softworkz <[email protected]>
CommitDate: Fri Aug 7 19:51:37 2026 +0200

    avutil/hwcontext_vulkan: Query export support with the real image flags
    
    Query with the flags the images are actually created with. The
    DRM-modifier path is unchanged.
    
    Signed-off-by: softworkz <[email protected]>
---
 libavutil/hwcontext_vulkan.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c
index ed27c78371..046f2f62ad 100644
--- a/libavutil/hwcontext_vulkan.c
+++ b/libavutil/hwcontext_vulkan.c
@@ -2824,7 +2824,7 @@ static void try_export_flags(AVHWFramesContext *hwfc,
         .tiling = hwctx->tiling,
         .usage  = hwctx->usage,
         .flags  = (hwctx->tiling == VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT && 
has_mods) ?
-                  (hwctx->img_flags) : 
(VkImageCreateFlags)(VK_IMAGE_CREATE_ALIAS_BIT),
+                  (hwctx->img_flags) : hwctx->img_flags ? hwctx->img_flags : 
(VkImageCreateFlags)(VK_IMAGE_CREATE_ALIAS_BIT),
     };
 
     nb_mods = has_mods ? drm_mod_info->drmFormatModifierCount : 1;

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to