This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit ace119d2f534617f80d0655b1f9a663f795f8112
Author:     Niklas Haas <[email protected]>
AuthorDate: Wed Oct 21 19:08:48 2026 +0200
Commit:     Niklas Haas <[email protected]>
CommitDate: Sat Oct 24 19:10:48 2026 +0000

    swscale/vulkan/ops: use ff_sws_pixel_type_is_int() to pick the view 
representation
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    Signed-off-by: Niklas Haas <[email protected]>
---
 libswscale/vulkan/ops.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libswscale/vulkan/ops.c b/libswscale/vulkan/ops.c
index 91ab24aef7..230af3e257 100644
--- a/libswscale/vulkan/ops.c
+++ b/libswscale/vulkan/ops.c
@@ -754,7 +754,8 @@ static int get_view_fmts(VkFormat 
view_fmts[AV_NUM_DATA_POINTERS],
     const VkFormat word_fmt = packed_word_fmt(op);
     enum FFVkShaderRepFormat rep = FF_VK_REP_NATIVE;
     if (op)
-        rep = op->rw.type == SWS_PIXEL_F32 ? FF_VK_REP_FLOAT : FF_VK_REP_UINT;
+        rep = ff_sws_pixel_type_is_int(op->rw.type) ? FF_VK_REP_UINT
+                                                    : FF_VK_REP_FLOAT;
     if (!vk_fmts)
         return AVERROR(ENOTSUP);
 

-- 
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]

Reply via email to