fate: fix long standing bug in the g723_1 test
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 30 May 2012 11:22:28 +0000 (13:22 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 30 May 2012 11:28:42 +0000 (13:28 +0200)
The test compared files of mismatching sample rate

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tests/fate/acodec.mak
tests/ref/fate/acodec-g723_1

index 17523b8..8937636 100644 (file)
@@ -60,10 +60,12 @@ fate-acodec-flac: FMT = flac
 fate-acodec-flac: CODEC = flac -compression_level 2
 
 FATE_ACODEC += fate-acodec-g723_1
+fate-acodec-g723_1: tests/data/asynth-8000-1.wav
+fate-acodec-g723_1: SRC = tests/data/asynth-8000-1.wav
 fate-acodec-g723_1: FMT = g723_1
 fate-acodec-g723_1: CODEC = g723_1
-fate-acodec-g723_1: ENCOPTS = -b:a 6.3k -ac 1 -ar 8000
-#fate-acodec-g723_1: DECOPTS = -ac 2 -ar 44100
+fate-acodec-g723_1: ENCOPTS = -b:a 6.3k
+fate-acodec-g723_1: CMP_SHIFT = 8
 
 FATE_ACODEC += fate-acodec-ra144
 fate-acodec-ra144: FMT = rm
index 6452661..38b1a11 100644 (file)
@@ -1,4 +1,4 @@
-d34f35011a3d596eb359cc62c92fa737 *tests/data/fate/acodec-g723_1.g723_1
+dec0deb2425e908d232d2471acff04a3 *tests/data/fate/acodec-g723_1.g723_1
 4800 tests/data/fate/acodec-g723_1.g723_1
-bc1807ce2a90997c09df66ced6900ebc *tests/data/fate/acodec-g723_1.out.wav
-stddev: 8507.27 PSNR: 17.73 MAXDIFF:26473 bytes:  1058400/    96000
+90b20555c962b638dad0e98ac2c05b25 *tests/data/fate/acodec-g723_1.out.wav
+stddev: 8418.34 PSNR: 17.82 MAXDIFF:52968 bytes:    95992/    96000