[FFmpeg-devel] [PATCH] fate: add tta encoder test

James Almer jamrial at gmail.com
Mon Apr 13 09:12:28 CEST 2015


Signed-off-by: James Almer <jamrial at gmail.com>
---
Now with the ref file.

This should be updated whenever a TTA muxer is written and commited since 
Matroska is not ideal for the format.

 tests/fate/acodec.mak | 3 +++
 tests/ref/acodec/tta  | 4 ++++
 2 files changed, 7 insertions(+)
 create mode 100644 tests/ref/acodec/tta

diff --git a/tests/fate/acodec.mak b/tests/fate/acodec.mak
index b7e510c..56301d3 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 0000000..5cf6b9a
--- /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
-- 
2.3.5



More information about the ffmpeg-devel mailing list