Browse Source

fate: fix long standing bug in the g723_1 test

The test compared files of mismatching sample rate

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.0
Michael Niedermayer 13 years ago
parent
commit
d24ef674ec
2 changed files with 7 additions and 5 deletions
  1. +4
    -2
      tests/fate/acodec.mak
  2. +3
    -3
      tests/ref/fate/acodec-g723_1

+ 4
- 2
tests/fate/acodec.mak View 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


+ 3
- 3
tests/ref/fate/acodec-g723_1 View 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

Loading…
Cancel
Save