aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2011-01-04 11:53:44 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2011-01-04 11:53:44 +0000
commit6fd96d1a85f3b81a1dbf08b79ba395506471ded0 (patch)
tree50aff50d56d178128d75a120a387f46b116d4965 /tests
parent6780f488467f75444317a95f00f35c26453f4e96 (diff)
downloadffmpeg-6fd96d1a85f3b81a1dbf08b79ba395506471ded0.tar.gz
Change the AC-3 encoder to use floating-point.
Fixed-point AC-3 encoder renamed to ac3_fixed. Regression test acodec-ac3 renamed to acodec-ac3_fixed. Regression test lavf-rm changed to use ac3_fixed encoder. Originally committed as revision 26209 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests')
-rwxr-xr-xtests/codec-regression.sh4
-rwxr-xr-xtests/lavf-regression.sh2
-rw-r--r--tests/ref/acodec/ac3_fixed (renamed from tests/ref/acodec/ac3)0
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/codec-regression.sh b/tests/codec-regression.sh
index 2a2ca1cb21..71d50a1298 100755
--- a/tests/codec-regression.sh
+++ b/tests/codec-regression.sh
@@ -269,8 +269,8 @@ do_audio_decoding
$tiny_psnr $pcm_dst $pcm_ref 2 1924 >> $logfile
fi
-if [ -n "$do_ac3" ] ; then
-do_audio_encoding ac3.rm "" -vn
+if [ -n "$do_ac3_fixed" ] ; then
+do_audio_encoding ac3.rm "" "-vn -acodec ac3_fixed"
# binaries configured with --disable-sse decode ac3 differently
#do_audio_decoding
#$tiny_psnr $pcm_dst $pcm_ref 2 1024 >> $logfile
diff --git a/tests/lavf-regression.sh b/tests/lavf-regression.sh
index 218a70f3af..736629bb67 100755
--- a/tests/lavf-regression.sh
+++ b/tests/lavf-regression.sh
@@ -57,7 +57,7 @@ fi
if [ -n "$do_rm" ] ; then
file=${outfile}lavf.rm
-do_ffmpeg $file -t 1 -qscale 10 -f image2 -vcodec pgmyuv -i $raw_src -f s16le -i $pcm_src
+do_ffmpeg $file -t 1 -qscale 10 -f image2 -vcodec pgmyuv -i $raw_src -f s16le -i $pcm_src -acodec ac3_fixed
# broken
#do_ffmpeg_crc $file -i $target_path/$file
fi
diff --git a/tests/ref/acodec/ac3 b/tests/ref/acodec/ac3_fixed
index 3ca8219e63..3ca8219e63 100644
--- a/tests/ref/acodec/ac3
+++ b/tests/ref/acodec/ac3_fixed