diff options
author | Måns Rullgård <mans@mansr.com> | 2010-07-24 17:13:35 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-07-24 17:13:35 +0000 |
commit | e6e3069b54a3f9e0ac766ba398709e0e6116072a (patch) | |
tree | f531f1f73b6847d898b8e8b4bf8800509a4745f8 /tests | |
parent | 8fae6e7c11c0453e96b9fa2b39e4b3c9e08842ae (diff) | |
download | ffmpeg-e6e3069b54a3f9e0ac766ba398709e0e6116072a.tar.gz |
Simplify lavfi test script a little
Originally committed as revision 24486 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/lavfi-regression.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/lavfi-regression.sh b/tests/lavfi-regression.sh index c20f427f6f..a81ad74d5a 100755 --- a/tests/lavfi-regression.sh +++ b/tests/lavfi-regression.sh @@ -38,12 +38,10 @@ get_exclusive_elements() ( ) do_lavfi() { - test_name=$1 - eval test=\$do_$test_name vfilters="slicify=random,$2" - if [ -n "$test" ] ; then - do_video_encoding ${test_name}.nut "" "-vcodec rawvideo -vf $vfilters" + if [ $test = $1 ] ; then + do_video_encoding ${test}.nut "" "-vcodec rawvideo -vf $vfilters" fi } |