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

Git pushed a commit to branch master
in repository ffmpeg.

commit f26ff7005fb8ebfea8831f61b824c218293eab02
Author:     Jun Zhao <[email protected]>
AuthorDate: Sat Sep 12 12:39:45 2026 +0800
Commit:     Jun Zhao <[email protected]>
CommitDate: Mon Sep 14 12:44:07 2026 +0000

    fate: do not run lavfi sources through target_path
    
    transcode() translates its input path with target_path(), which is always
    set to the source tree, so a lavfi filter graph passed as input was turned
    into an unusable path. A filter graph is not a file, so leave it alone.
    
    Signed-off-by: Jun Zhao <[email protected]>
---
 tests/fate-run.sh | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index 39be7c7fb8..0fde548549 100755
--- a/tests/fate-run.sh
+++ b/tests/fate-run.sh
@@ -320,7 +320,12 @@ transcode(){
     test -z "$final_encode_muxer" && final_encode_muxer="framecrc"
     encfile="${outdir}/${test}.${enc_fmt}"
     test $keep -ge 1 || cleanfiles="$cleanfiles $encfile"
-    tsrcfile=$(target_path $srcfile)
+    # lavfi graphs are not file paths, so do not run them through target_path.
+    if [ "$src_fmt" = "lavfi" ]; then
+        tsrcfile="$srcfile"
+    else
+        tsrcfile=$(target_path $srcfile)
+    fi
     tencfile=$(target_path $encfile)
     ffmpeg -f $src_fmt $DEC_OPTS $enc_opt_in -i $tsrcfile $additional_input \
            $ENC_OPTS $enc_opt $FLAGS -f $enc_fmt -y $tencfile || return

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