Commit e6e3069b authored by Måns Rullgård's avatar Måns Rullgård

Simplify lavfi test script a little

Originally committed as revision 24486 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 8fae6e7c
...@@ -38,12 +38,10 @@ get_exclusive_elements() ( ...@@ -38,12 +38,10 @@ get_exclusive_elements() (
) )
do_lavfi() { do_lavfi() {
test_name=$1
eval test=\$do_$test_name
vfilters="slicify=random,$2" vfilters="slicify=random,$2"
if [ -n "$test" ] ; then if [ $test = $1 ] ; then
do_video_encoding ${test_name}.nut "" "-vcodec rawvideo -vf $vfilters" do_video_encoding ${test}.nut "" "-vcodec rawvideo -vf $vfilters"
fi fi
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment