summaryrefslogtreecommitdiff
path: root/tests/lavfi-regression.sh
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-07-24 17:13:35 +0000
committerMåns Rullgård <mans@mansr.com>2010-07-24 17:13:35 +0000
commite6e3069b54a3f9e0ac766ba398709e0e6116072a (patch)
treef531f1f73b6847d898b8e8b4bf8800509a4745f8 /tests/lavfi-regression.sh
parent8fae6e7c11c0453e96b9fa2b39e4b3c9e08842ae (diff)
Simplify lavfi test script a little
Originally committed as revision 24486 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests/lavfi-regression.sh')
-rwxr-xr-xtests/lavfi-regression.sh6
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
}