[FFmpeg-cvslog] r24486 - trunk/tests/lavfi-regression.sh

mru subversion
Sat Jul 24 19:13:35 CEST 2010


Author: mru
Date: Sat Jul 24 19:13:35 2010
New Revision: 24486

Log:
Simplify lavfi test script a little

Modified:
   trunk/tests/lavfi-regression.sh

Modified: trunk/tests/lavfi-regression.sh
==============================================================================
--- trunk/tests/lavfi-regression.sh	Sat Jul 24 19:13:32 2010	(r24485)
+++ trunk/tests/lavfi-regression.sh	Sat Jul 24 19:13:35 2010	(r24486)
@@ -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
 }
 



More information about the ffmpeg-cvslog mailing list