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

Git pushed a commit to branch master
in repository ffmpeg.

commit f73027b495556af0783c6549372f1b11a5c7920e
Author:     Ramiro Polla <[email protected]>
AuthorDate: Mon Sep 28 16:37:43 2026 +0200
Commit:     Niklas Haas <[email protected]>
CommitDate: Tue Sep 29 18:54:39 2026 +0000

    swscale/tests/swscale: don't skip same-format conversions with -hw
    
    It's the library that should report ENOTSUP on unsupported conversions,
    and not the test tool that should silently skip it.
    
    The library has been fixed in the previous commit.
    
    This commit also increases the test coverage for Vulkan by enabling
    same-format conversions with scaling.
---
 libswscale/tests/swscale.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/libswscale/tests/swscale.c b/libswscale/tests/swscale.c
index 5ea40d1830..0e4222e614 100644
--- a/libswscale/tests/swscale.c
+++ b/libswscale/tests/swscale.c
@@ -337,9 +337,6 @@ static int scale_hw(AVFrame *dst, const AVFrame *src,
     AVFrame *out_f = NULL;
     int ret;
 
-    if (src->format == dst->format)
-        return AVERROR(ENOTSUP);
-
     sws_hw = sws_alloc_context();
     if (!sws_hw) {
         ret = AVERROR(ENOMEM);

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