Commit a4f5af13 authored by Justin Ruggles's avatar Justin Ruggles Committed by Mans Rullgard

Add regression test for stereo s16le in voc.

Signed-off-by: 's avatarMans Rullgard <mans@mansr.com>
parent 09a5c245
...@@ -40,7 +40,7 @@ do_image_formats() ...@@ -40,7 +40,7 @@ do_image_formats()
do_audio_only() do_audio_only()
{ {
file=${outfile}lavf.$1 file=${outfile}lavf.$1
do_ffmpeg $file -t 1 -qscale 10 -f s16le -i $pcm_src do_ffmpeg $file -t 1 -qscale 10 $2 -f s16le -i $pcm_src $3
do_ffmpeg_crc $file -i $target_path/$file do_ffmpeg_crc $file -i $target_path/$file
} }
...@@ -206,6 +206,10 @@ if [ -n "$do_voc" ] ; then ...@@ -206,6 +206,10 @@ if [ -n "$do_voc" ] ; then
do_audio_only voc do_audio_only voc
fi fi
if [ -n "$do_voc_s16" ] ; then
do_audio_only s16.voc "-ac 2" "-acodec pcm_s16le"
fi
if [ -n "$do_ogg" ] ; then if [ -n "$do_ogg" ] ; then
do_audio_only ogg do_audio_only ogg
fi fi
......
b20728bf036d2e23508869acbad4e576 *./tests/data/lavf/lavf.s16.voc
163840 ./tests/data/lavf/lavf.s16.voc
./tests/data/lavf/lavf.s16.voc CRC=0xfa9b6c39
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment