summaryrefslogtreecommitdiff
path: root/tests/regression.sh
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2006-12-01 10:53:02 +0000
committerDiego Biurrun <diego@biurrun.de>2006-12-01 10:53:02 +0000
commitd449d1bc64248dd91aaecff68d7ddab7ba9f4b82 (patch)
treec6e6122cb41f3f255a9ada481532f69ad6d21c61 /tests/regression.sh
parente587a0a501cd6128f657f4a0920df954fb730229 (diff)
downloadffmpeg-d449d1bc64248dd91aaecff68d7ddab7ba9f4b82.tar.gz
Use a function for streamed images.
Originally committed as revision 7196 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests/regression.sh')
-rwxr-xr-xtests/regression.sh19
1 files changed, 10 insertions, 9 deletions
diff --git a/tests/regression.sh b/tests/regression.sh
index 3204f1aabf..ee0099f02d 100755
--- a/tests/regression.sh
+++ b/tests/regression.sh
@@ -165,6 +165,13 @@ do_video_encoding()
do_ffmpeg $file -y $1 -f pgmyuv -i $raw_src $2 $file
}
+do_streamed_images()
+{
+ file=${outfile}libav.$1
+ do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src -f image2pipe $file
+ do_ffmpeg_crc $file -f image2pipe -i $file
+}
+
do_audio_only()
{
file=${outfile}libav.$1
@@ -699,19 +706,13 @@ do_ffmpeg_crc $file -i $file
#do_ffmpeg_crc $file -i $file
# pbmpipe
-file=${outfile}libav.pbm
-do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src -f image2pipe $file
-do_ffmpeg_crc $file -f image2pipe -i $file
+do_streamed_images pbm
# pgmpipe
-file=${outfile}libav.pgm
-do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src -f image2pipe $file
-do_ffmpeg_crc $file -f image2pipe -i $file
+do_streamed_images pgm
# ppmpipe
-file=${outfile}libav.ppm
-do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src -f image2pipe $file
-do_ffmpeg_crc $file -f image2pipe -i $file
+do_streamed_images ppm
# gif
file=${outfile}libav.gif