[Ffmpeg-cvslog] r7196 - trunk/tests/regression.sh
diego
subversion
Fri Dec 1 11:53:02 CET 2006
Author: diego
Date: Fri Dec 1 11:53:02 2006
New Revision: 7196
Modified:
trunk/tests/regression.sh
Log:
Use a function for streamed images.
Modified: trunk/tests/regression.sh
==============================================================================
--- trunk/tests/regression.sh (original)
+++ trunk/tests/regression.sh Fri Dec 1 11:53:02 2006
@@ -165,6 +165,13 @@
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
# 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
More information about the ffmpeg-cvslog
mailing list