aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-03-01 23:59:49 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-03-02 11:09:08 +0100
commitf27d5bd3d2c675ae919c97cc410b0e660d0753f2 (patch)
treee442f17712698c5a181610b4392f4d07e548f28f
parent34b13dbadff97b858b9bee41b79d02f5f9e868f0 (diff)
downloadffmpeg-f27d5bd3d2c675ae919c97cc410b0e660d0753f2.tar.gz
tests/fate: Add S302M test
Reviewed-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--tests/fate/acodec.mak6
-rw-r--r--tests/ref/acodec/s302m4
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/fate/acodec.mak b/tests/fate/acodec.mak
index 691f9ffc9c..b7e510c272 100644
--- a/tests/fate/acodec.mak
+++ b/tests/fate/acodec.mak
@@ -140,6 +140,12 @@ fate-acodec-roqaudio: CODEC = roq_dpcm
fate-acodec-roqaudio: ENCOPTS = -ar 22050
fate-acodec-roqaudio: DECOPTS = -ar 44100
+FATE_ACODEC-$(call ENCDEC, S302M, MPEGTS) += fate-acodec-s302m
+fate-acodec-s302m: FMT = mpegts
+fate-acodec-s302m: CODEC = s302m
+fate-acodec-s302m: ENCOPTS = -ar 48000 -strict -2
+fate-acodec-s302m: DECOPTS = -ar 44100
+
FATE_ACODEC-$(call ENCDEC, WAVPACK, WV) += fate-acodec-wavpack
fate-acodec-wavpack: FMT = wv
fate-acodec-wavpack: CODEC = wavpack -compression_level 1
diff --git a/tests/ref/acodec/s302m b/tests/ref/acodec/s302m
new file mode 100644
index 0000000000..f19eebe7a2
--- /dev/null
+++ b/tests/ref/acodec/s302m
@@ -0,0 +1,4 @@
+2d1494ad78292dca556fd079ec27f28d *tests/data/fate/acodec-s302m.mpegts
+1589164 tests/data/fate/acodec-s302m.mpegts
+f9b6528eee1aea04640ee83400c78689 *tests/data/fate/acodec-s302m.out.wav
+stddev: 986.97 PSNR: 36.44 MAXDIFF:18642 bytes: 1058400/ 1056708