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

Git pushed a commit to branch master
in repository ffmpeg.

commit 7fb1e0832c25943a77a73672bb9f14e0ab81e9fb
Author:     Niklas Haas <[email protected]>
AuthorDate: Mon Mar 9 17:46:10 2026 +0100
Commit:     Niklas Haas <[email protected]>
CommitDate: Thu Mar 12 21:02:48 2026 +0000

    swscale/ops_dispatch: move ENOTSUP error to ff_sws_compile_pass()
    
    Or else this might false-positive when we retry compilation after subpass
    splitting.
    
    Sponsored-by: Sovereign Tech Fund
    Signed-off-by: Niklas Haas <[email protected]>
---
 libswscale/ops_dispatch.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/libswscale/ops_dispatch.c b/libswscale/ops_dispatch.c
index 7874f3c494..239b2e3d7b 100644
--- a/libswscale/ops_dispatch.c
+++ b/libswscale/ops_dispatch.c
@@ -90,8 +90,6 @@ int ff_sws_ops_compile(SwsContext *ctx, const SwsOpList *ops, 
SwsCompiledOp *out
         return 0;
     }
 
-    av_log(ctx, AV_LOG_WARNING, "No backend found for operations:\n");
-    ff_sws_op_list_print(ctx, AV_LOG_WARNING, AV_LOG_TRACE, ops);
     return AVERROR(ENOTSUP);
 }
 
@@ -401,6 +399,10 @@ int ff_sws_compile_pass(SwsGraph *graph, SwsOpList **pops, 
int flags,
     ret = compile(graph, ops, input, output);
 
 out:
+    if (ret == AVERROR(ENOTSUP)) {
+        av_log(ctx, AV_LOG_WARNING, "No backend found for operations:\n");
+        ff_sws_op_list_print(ctx, AV_LOG_WARNING, AV_LOG_TRACE, ops);
+    }
     ff_sws_op_list_free(&ops);
     *pops = NULL;
     return ret;

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

Reply via email to