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

Git pushed a commit to branch master
in repository ffmpeg.

commit ad17144ce657ebd90fd52b8b8e6a19f8325643da
Author:     Niklas Haas <[email protected]>
AuthorDate: Wed Apr 22 18:54:46 2026 +0200
Commit:     Niklas Haas <[email protected]>
CommitDate: Fri May 15 18:53:05 2026 +0200

    swscale/ops_dispatch: move op list print to ff_sws_ops_compile_backend()
    
    Signed-off-by: Niklas Haas <[email protected]>
---
 libswscale/ops_dispatch.c | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

diff --git a/libswscale/ops_dispatch.c b/libswscale/ops_dispatch.c
index d034823ade..37daf95b43 100644
--- a/libswscale/ops_dispatch.c
+++ b/libswscale/ops_dispatch.c
@@ -73,10 +73,19 @@ int ff_sws_ops_compile_backend(SwsContext *ctx, const 
SwsOpBackend *backend,
         int msg_lev = ret == AVERROR(ENOTSUP) ? AV_LOG_TRACE : AV_LOG_ERROR;
         av_log(ctx, msg_lev, "Backend '%s' failed to compile operations: %s\n",
                backend->name, av_err2str(ret));
-    } else {
-        *out = compiled;
+        goto fail;
     }
 
+    *out = compiled;
+
+    av_log(ctx, AV_LOG_VERBOSE, "Compiled using backend '%s': "
+           "block size = %d, over-read = %d, over-write = %d, cpu flags = 
0x%x\n",
+           backend->name, out->block_size, out->over_read, out->over_write,
+           out->cpu_flags);
+
+    ff_sws_op_list_print(ctx, AV_LOG_VERBOSE, AV_LOG_TRACE, ops);
+
+fail:
     ff_sws_op_list_free(&copy);
     return ret;
 }
@@ -91,12 +100,6 @@ int ff_sws_ops_compile(SwsContext *ctx, const SwsOpList 
*ops, SwsCompiledOp *out
         if (ff_sws_ops_compile_backend(ctx, backend, ops, out) < 0)
             continue;
 
-        av_log(ctx, AV_LOG_VERBOSE, "Compiled using backend '%s': "
-               "block size = %d, over-read = %d, over-write = %d, cpu flags = 
0x%x\n",
-               backend->name, out->block_size, out->over_read, out->over_write,
-               out->cpu_flags);
-
-        ff_sws_op_list_print(ctx, AV_LOG_VERBOSE, AV_LOG_TRACE, ops);
         return 0;
     }
 

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

Reply via email to