From a181169868fe5be11fd0fa0c2c61c202ef61cee9 Mon Sep 17 00:00:00 2001 From: Mark Reid Date: Sun, 25 Jan 2015 16:38:00 -0800 Subject: [PATCH] tests/fate: added mxf tests for essencegroups and missing index Signed-off-by: Michael Niedermayer --- tests/Makefile | 1 + tests/fate/mxf.mak | 11 +++++++++++ tests/ref/fate/mxf-essencegroup-demux | 2 ++ tests/ref/fate/mxf-missing-index-demux | 1 + 4 files changed, 15 insertions(+) create mode 100644 tests/fate/mxf.mak create mode 100644 tests/ref/fate/mxf-essencegroup-demux create mode 100644 tests/ref/fate/mxf-missing-index-demux 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