summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-12-10 00:58:13 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-12-10 00:58:13 +0100
commitb7bfe17824b668bb5865024029cacaf083b2c1ce (patch)
tree3345e0e9fe85d3884da00bbfcd3c50c73df6c18e
parentcb416a7d795414aaa534c27943bda0d3aef3b5a1 (diff)
parentd2f1d42b18787e4fcb28864d9d9f701dd64a5747 (diff)
Merge commit 'd2f1d42b18787e4fcb28864d9d9f701dd64a5747'
* commit 'd2f1d42b18787e4fcb28864d9d9f701dd64a5747': fate: add dolby true hd tests Conflicts: tests/fate/lossless-audio.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--tests/fate/lossless-audio.mak6
-rw-r--r--tests/ref/fate/lossless-truehd-5.11
-rw-r--r--tests/ref/fate/lossless-truehd-5.1-downmix-2.01
3 files changed, 8 insertions, 0 deletions
diff --git a/tests/fate/lossless-audio.mak b/tests/fate/lossless-audio.mak
index 0736a01a7b..1d278da0e4 100644
--- a/tests/fate/lossless-audio.mak
+++ b/tests/fate/lossless-audio.mak
@@ -13,6 +13,12 @@ fate-lossless-shorten: CMD = md5 -i $(TARGET_SAMPLES)/lossless-audio/luckynight-
FATE_SAMPLES_LOSSLESS_AUDIO-$(call DEMDEC, TAK, TAK) += fate-lossless-tak
fate-lossless-tak: CMD = crc -i $(TARGET_SAMPLES)/lossless-audio/luckynight-partial.tak
+FATE_TRUEHD = fate-lossless-truehd-5.1 fate-lossless-truehd-5.1-downmix-2.0
+fate-lossless-truehd-5.1: CMD = md5 -f truehd -i $(TARGET_SAMPLES)/lossless-audio/truehd_5.1.raw -f s32le
+fate-lossless-truehd-5.1-downmix-2.0: CMD = md5 -f truehd -request_channel_layout 2 -i $(TARGET_SAMPLES)/lossless-audio/truehd_5.1.raw -f s32le
+fate-lossless-truehd: $(FATE_TRUEHD)
+FATE_SAMPLES_LOSSLESS_AUDIO-$(call DEMDEC, TRUEHD, TRUEHD) += $(FATE_TRUEHD)
+
FATE_SAMPLES_LOSSLESS_AUDIO-$(call DEMDEC, TTA, TTA) += fate-lossless-tta
fate-lossless-tta: CMD = crc -i $(TARGET_SAMPLES)/lossless-audio/inside.tta
diff --git a/tests/ref/fate/lossless-truehd-5.1 b/tests/ref/fate/lossless-truehd-5.1
new file mode 100644
index 0000000000..373b917948
--- /dev/null
+++ b/tests/ref/fate/lossless-truehd-5.1
@@ -0,0 +1 @@
+95d8aac39dd9f0d7fb83dc7b6f88df35
diff --git a/tests/ref/fate/lossless-truehd-5.1-downmix-2.0 b/tests/ref/fate/lossless-truehd-5.1-downmix-2.0
new file mode 100644
index 0000000000..f4afbc19b8
--- /dev/null
+++ b/tests/ref/fate/lossless-truehd-5.1-downmix-2.0
@@ -0,0 +1 @@
+a269aee0051d4400c9117136f08c9767