summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2017-03-20 17:15:54 +0000
committerTim-Philipp Müller <tim@centricular.com>2017-03-20 17:15:54 +0000
commit24ee6089476ad67cf6eac03bfbf18593c9c17d78 (patch)
treecb0ef9be01def63f42581057c9e863cf9d8312b4 /scripts
parentb8344ea997ac89e318981e41e0fe8dd5f0bd631e (diff)
downloadgstreamer-plugins-bad-24ee6089476ad67cf6eac03bfbf18593c9c17d78.tar.gz
Update for 'mad' mp3 decoder removal
https://bugzilla.gnome.org/show_bug.cgi?id=776140
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/autoplugins.sh30
1 files changed, 0 insertions, 30 deletions
diff --git a/scripts/autoplugins.sh b/scripts/autoplugins.sh
deleted file mode 100755
index 03eea107a..000000000
--- a/scripts/autoplugins.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/bash
-
-# automatic testing of some of the plugins using gstreamer-launch
-
-MEDIA=/home/thomas/media
-GSTL=gstreamer-launch
-
-run_file_test()
-# run a pipe between filesrc and fakesink to test a set of plugins
-# first argument is the test name
-# second argument is the filename to work on
-# third argument is the part between filesrc and fakesink
-{
- NAME=$1
- FILE=$2
- PIPE=$3
-
- echo -n "Testing $NAME ... "
- COMMAND="$GSTL filesrc location=$MEDIA/$FILE ! $PIPE ! fakesink silent=true"
- $COMMAND > /dev/null 2> /dev/null
- if test $?; then PASSED="yes"; else PASSED="no"; fi
- if test "x$PASSED"="xyes"; then echo "passed."; else echo "failed"; fi
-}
-
-run_file_test "mad" "south.mp3" "mad"
-run_file_test "mad/lame" "south.mp3" "mad ! lame"
-run_file_test "mad/lame/mad" "south.mp3" "mad ! lame ! mad"
-run_file_test "vorbisdec" "Brown\ Sugar128.ogg" "vorbisdec"
-run_file_test "vorbisdec/vorbisenc" "Brown\ Sugar128.ogg" "vorbisdec ! vorbisenc"
-