aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2015-04-13 04:12:28 -0300
committerMichael Niedermayer <michaelni@gmx.at>2015-04-13 11:33:02 +0200
commit30ce065ffec37094cd8f160c4b474678feb68367 (patch)
tree7077aefc9f63c641e345fa7c471a88b749327cb1
parenta4d58c97d0513904313638a913e2d985be47d3df (diff)
downloadffmpeg-30ce065ffec37094cd8f160c4b474678feb68367.tar.gz
fate: add tta encoder test
Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--tests/fate/acodec.mak3
-rw-r--r--tests/ref/acodec/tta4
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/fate/acodec.mak b/tests/fate/acodec.mak
index b7e510c272..56301d34d7 100644
--- a/tests/fate/acodec.mak
+++ b/tests/fate/acodec.mak
@@ -150,6 +150,9 @@ FATE_ACODEC-$(call ENCDEC, WAVPACK, WV) += fate-acodec-wavpack
fate-acodec-wavpack: FMT = wv
fate-acodec-wavpack: CODEC = wavpack -compression_level 1
+FATE_ACODEC-$(call ENCDEC, TTA, MATROSKA) += fate-acodec-tta
+fate-acodec-tta: FMT = matroska
+
FATE_ACODEC += $(FATE_ACODEC-yes)
$(FATE_ACODEC): tests/data/asynth-44100-2.wav
diff --git a/tests/ref/acodec/tta b/tests/ref/acodec/tta
new file mode 100644
index 0000000000..b4b96112f2
--- /dev/null
+++ b/tests/ref/acodec/tta
@@ -0,0 +1,4 @@
+aeeb0f2e75d044dbe2f89b7e70a54c82 *tests/data/fate/acodec-tta.matroska
+331080 tests/data/fate/acodec-tta.matroska
+95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-tta.out.wav
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400