[FFmpeg-cvslog] lavfi-regression: provide filter arguments to showfiltfmts

Stefano Sabatini git at videolan.org
Thu May 5 19:23:42 CEST 2011


ffmpeg | branch: master | Stefano Sabatini <stefano.sabatini-lala at poste.it> | Wed May  4 00:47:53 2011 +0200| [55bfb98fc622583a407200c9be2c9e2f39a61950] | committer: Stefano Sabatini

lavfi-regression: provide filter arguments to showfiltfmts

In do_lavfi_pixfmts(), provide the filter arguments to showfiltfmts,
since some filter may require non-null or non-empty argument string
for working properly.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=55bfb98fc622583a407200c9be2c9e2f39a61950
---

 tests/lavfi-regression.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/lavfi-regression.sh b/tests/lavfi-regression.sh
index ed13f70..7a5f239 100755
--- a/tests/lavfi-regression.sh
+++ b/tests/lavfi-regression.sh
@@ -55,7 +55,7 @@ do_lavfi_pixfmts(){
     $ffmpeg -pix_fmts list 2>/dev/null | sed -ne '9,$p' | grep '^\..\.' | cut -d' ' -f2 | sort >$exclude_fmts
     $showfiltfmts scale | awk -F '[ \r]' '/^OUTPUT/{ print $3 }' | sort | comm -23 - $exclude_fmts >$out_fmts
 
-    pix_fmts=$($showfiltfmts $filter | awk -F '[ \r]' '/^INPUT/{ print $3 }' | sort | comm -12 - $out_fmts)
+    pix_fmts=$($showfiltfmts $filter $filter_args | awk -F '[ \r]' '/^INPUT/{ print $3 }' | sort | comm -12 - $out_fmts)
     for pix_fmt in $pix_fmts; do
         do_video_filter $pix_fmt "slicify=random,format=$pix_fmt,$filter=$filter_args" -pix_fmt $pix_fmt
     done



More information about the ffmpeg-cvslog mailing list