summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMark Reid <mindmark@gmail.com>2015-01-25 16:38:00 -0800
committerMichael Niedermayer <michaelni@gmx.at>2015-01-28 05:45:32 +0100
commita181169868fe5be11fd0fa0c2c61c202ef61cee9 (patch)
tree2b61b2b0c33a5697ec905070045826874d615bfb /tests
parent449b8cf04b7ed3190635ad2bc4f8b90ea5da5f6f (diff)
downloadffmpeg-a181169868fe5be11fd0fa0c2c61c202ef61cee9.tar.gz
tests/fate: added mxf tests for essencegroups and missing index
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile1
-rw-r--r--tests/fate/mxf.mak11
-rw-r--r--tests/ref/fate/mxf-essencegroup-demux2
-rw-r--r--tests/ref/fate/mxf-missing-index-demux1
4 files changed, 15 insertions, 0 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 1d9d179f0f..065be41811 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -135,6 +135,7 @@ include $(SRC_PATH)/tests/fate/monkeysaudio.mak
include $(SRC_PATH)/tests/fate/mp3.mak
include $(SRC_PATH)/tests/fate/mpc.mak
include $(SRC_PATH)/tests/fate/mpeg4.mak
+include $(SRC_PATH)/tests/fate/mxf.mak
include $(SRC_PATH)/tests/fate/opus.mak
include $(SRC_PATH)/tests/fate/pcm.mak
include $(SRC_PATH)/tests/fate/probe.mak
diff --git a/tests/fate/mxf.mak b/tests/fate/mxf.mak
new file mode 100644
index 0000000000..6032c85ccb
--- /dev/null
+++ b/tests/fate/mxf.mak
@@ -0,0 +1,11 @@
+
+FATE_MXF += fate-mxf-missing-index-demux
+fate-mxf-missing-index-demux: CMD = crc -i $(TARGET_SAMPLES)/mxf/opatom_missing_index.mxf -acodec copy
+
+FATE_MXF += fate-mxf-essencegroup-demux
+fate-mxf-essencegroup-demux: CMD = framecrc -i $(TARGET_SAMPLES)/mxf/opatom_essencegroup_alpha_raw.mxf -vcodec copy
+
+FATE_MXF-$(CONFIG_MXF_DEMUXER) += $(FATE_MXF)
+
+FATE_SAMPLES_AVCONV += $(FATE_MXF-yes)
+fate-mxf: $(FATE_MXF-yes)
diff --git a/tests/ref/fate/mxf-essencegroup-demux b/tests/ref/fate/mxf-essencegroup-demux
new file mode 100644
index 0000000000..8420db97c8
--- /dev/null
+++ b/tests/ref/fate/mxf-essencegroup-demux
@@ -0,0 +1,2 @@
+#tb 0: 1001/24000
+0, 0, 0, 1, 2080768, 0xe99233d9
diff --git a/tests/ref/fate/mxf-missing-index-demux b/tests/ref/fate/mxf-missing-index-demux
new file mode 100644
index 0000000000..8f03fc1e26
--- /dev/null
+++ b/tests/ref/fate/mxf-missing-index-demux
@@ -0,0 +1 @@
+CRC=0x48508eed