[SCM] libav/experimental: Simplify lavfi test script a little

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:12:36 UTC 2013


The following commit has been merged in the experimental branch:
commit e6e3069b54a3f9e0ac766ba398709e0e6116072a
Author: Måns Rullgård <mans at mansr.com>
Date:   Sat Jul 24 17:13:35 2010 +0000

    Simplify lavfi test script a little
    
    Originally committed as revision 24486 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/tests/lavfi-regression.sh b/tests/lavfi-regression.sh
index c20f427..a81ad74 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
 }
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list