diff options
author | Diego Biurrun <diego@biurrun.de> | 2006-12-01 13:44:28 +0300 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2006-12-01 13:44:28 +0300 |
commit | e587a0a501cd6128f657f4a0920df954fb730229 (patch) | |
tree | edbf55f9f9617a19e6dff59a801f3e79089c96af /tests | |
parent | 56cca5f10c5dbb81c59f913d7fcb991929fad02a (diff) |
Use a function for audio-only tests.
Originally committed as revision 7195 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/regression.sh | 35 |
1 files changed, 14 insertions, 21 deletions
diff --git a/tests/regression.sh b/tests/regression.sh index 6278929524..3204f1aabf 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_audio_only() +{ + file=${outfile}libav.$1 + do_ffmpeg $file -t 1 -y -qscale 10 -f s16le -i $pcm_src $file + do_ffmpeg_crc $file -i $file +} + echo "ffmpeg regression test" > $logfile echo "ffmpeg benchmarks" > $benchfile @@ -737,39 +744,25 @@ do_ffmpeg_crc $file -f image2 -i $file # audio only # wav -file=${outfile}libav.wav -do_ffmpeg $file -t 1 -y -qscale 10 -f s16le -i $pcm_src $file -do_ffmpeg_crc $file -i $file +do_audio_only wav # alaw -file=${outfile}libav.al -do_ffmpeg $file -t 1 -y -qscale 10 -f s16le -i $pcm_src $file -do_ffmpeg_crc $file -i $file +do_audio_only al # mulaw -file=${outfile}libav.ul -do_ffmpeg $file -t 1 -y -qscale 10 -f s16le -i $pcm_src $file -do_ffmpeg_crc $file -i $file +do_audio_only ul # au -file=${outfile}libav.au -do_ffmpeg $file -t 1 -y -qscale 10 -f s16le -i $pcm_src $file -do_ffmpeg_crc $file -i $file +do_audio_only au # mmf -file=${outfile}libav.mmf -do_ffmpeg $file -t 1 -y -qscale 10 -f s16le -i $pcm_src $file -do_ffmpeg_crc $file -i $file +do_audio_only mmf # aiff -file=${outfile}libav.aif -do_ffmpeg $file -t 1 -y -qscale 10 -f s16le -i $pcm_src $file -do_ffmpeg_crc $file -i $file +do_audio_only aif # voc -file=${outfile}libav.voc -do_ffmpeg $file -t 1 -y -qscale 10 -f s16le -i $pcm_src $file -do_ffmpeg_crc $file -i $file +do_audio_only voc #################### # pix_fmt conversions |