[FFmpeg-devel] [PATCH] FATE: add test for cdxl demuxer

Paul B Mahol onemda at gmail.com
Sun Mar 11 15:06:09 CET 2012


Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
 tests/fate/demux.mak      |    3 +++
 tests/ref/fate/cdxl-demux |   21 +++++++++++++++++++++
 2 files changed, 24 insertions(+), 0 deletions(-)
 create mode 100644 tests/ref/fate/cdxl-demux

diff --git a/tests/fate/demux.mak b/tests/fate/demux.mak
index e6b7a81..4e8793b 100644
--- a/tests/fate/demux.mak
+++ b/tests/fate/demux.mak
@@ -13,6 +13,9 @@ fate-bmv: CMD = framecrc -i $(SAMPLES)/bmv/SURFING-partial.BMV -pix_fmt rgb24
 FATE_DEMUX += fate-caf
 fate-caf: CMD = crc -i $(SAMPLES)/caf/caf-pcm16.caf
 
+FATE_DEMUX += fate-cdxl-demux
+fate-cdxl-demux: CMD = framecrc -i $(SAMPLES)/cdxl/mirage.cdxl -vcodec copy -acodec copy
+
 FATE_DEMUX += fate-cryo-apc
 fate-cryo-apc: CMD = md5 -i $(SAMPLES)/cryo-apc/cine007.APC -f s16le
 
diff --git a/tests/ref/fate/cdxl-demux b/tests/ref/fate/cdxl-demux
new file mode 100644
index 0000000..7e4c4c8
--- /dev/null
+++ b/tests/ref/fate/cdxl-demux
@@ -0,0 +1,21 @@
+#tb 0: 1/11025
+#tb 1: 1/11025
+0,          0,          0,     1884,    22688, 0xc954a244
+1,          0,          0,     1884,     1884, 0x06925e3e
+0,       1884,       1884,     1884,    22688, 0x3ee4a304
+1,       1884,       1884,     1884,     1884, 0x1957ab65
+0,       3768,       3768,     1884,    22688, 0x9777a305
+1,       3768,       3768,     1884,     1884, 0x7fcd6e47
+0,       5652,       5652,     1884,    22688, 0xf00aa306
+1,       5652,       5652,     1884,     1884, 0xc974878e
+0,       7536,       7536,     1884,    22688, 0x48aca307
+1,       7536,       7536,     1884,     1884, 0xecb5c4c8
+0,       9420,       9420,     1884,    22688, 0xa13fa308
+1,       9420,       9420,     1884,     1884, 0x87adce5f
+0,      11304,      11304,     1884,    22688, 0xf9d2a309
+1,      11304,      11304,     1884,     1884, 0x3cf097e4
+0,      13188,      13188,     1884,    22688, 0x5274a30a
+1,      13188,      13188,     1884,     1884, 0xcc218105
+0,      15072,      15072,     1884,    22688, 0xab07a30b
+1,      15072,      15072,     1884,     1884, 0xf685762f
+0,      16956,      16956,     1884,    17896, 0x1a696b6e
-- 
1.7.7



More information about the ffmpeg-devel mailing list