From 50615791ca8cc4e33bccc23a31438f446c00920b Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 7 Mar 2016 23:19:24 +0100 Subject: [PATCH] fate: Add test similar to ticket 1242 Signed-off-by: Michael Niedermayer --- tests/fate/demux.mak | 4 ++++ tests/ref/fate/mkv-1242 | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 tests/ref/fate/mkv-1242 diff --git a/tests/fate/demux.mak b/tests/fate/demux.mak index 10a8f338cb..d6508c2088 100644 --- a/tests/fate/demux.mak +++ b/tests/fate/demux.mak @@ -53,6 +53,10 @@ fate-maxis-xa: CMD = framecrc -i $(TARGET_SAMPLES)/maxis-xa/SC2KBUG.XA -frames:a FATE_SAMPLES_DEMUX-$(call DEMDEC, MATROSKA, H264) += fate-mkv fate-mkv: CMD = framecrc -i $(TARGET_SAMPLES)/mkv/test7_cut.mkv -c copy +#No dts errors or duplicate DTS should be in this +FATE_SAMPLES_DEMUX-$(call DEMDEC, MATROSKA, H264) += fate-mkv-1242 +fate-mkv-1242: CMD = framecrc -i $(TARGET_SAMPLES)/mkv/1242-small.mkv -c copy -vframes 11 + FATE_SAMPLES_DEMUX-$(CONFIG_MLV_DEMUXER) += fate-mlv-demux fate-mlv-demux: CMD = crc -i $(TARGET_SAMPLES)/mlv/M19-0333-cut.MLV -c copy diff --git a/tests/ref/fate/mkv-1242 b/tests/ref/fate/mkv-1242 new file mode 100644 index 0000000000..0ba2beb815 --- /dev/null +++ b/tests/ref/fate/mkv-1242 @@ -0,0 +1,39 @@ +#extradata 0: 93, 0xc2a32e14 +#extradata 1: 2, 0x00b200a1 +#tb 0: 1/1000 +#tb 1: 1/1000 +0, -42, 0, 41, 2969, 0xa7016742 +0, 0, 42, 41, 135, 0x33af1a9e, F=0x0 +1, 0, 0, 21, 6, 0x027e00e8 +1, 21, 21, 21, 6, 0x027e00e8 +0, 42, 83, 41, 9196, 0x24d8439f +1, 42, 42, 21, 6, 0x027e00e8 +1, 63, 63, 21, 6, 0x027e00e8 +0, 83, 125, 41, 4926, 0xd7e2e492, F=0x0 +1, 85, 85, 21, 6, 0x027e00e8 +1, 106, 106, 21, 24, 0x886f0c1f +0, 125, 167, 41, 11069, 0x44839c66 +1, 127, 127, 21, 550, 0xf863059c +1, 148, 148, 22, 596, 0x32d414c1 +0, 167, 250, 41, 6143, 0xc25343dd, F=0x0 +1, 171, 171, 21, 247, 0x2d0776c9 +1, 192, 192, 21, 264, 0xf04a7b44 +0, 209, 209, 41, 4197, 0x3b9f74ad, F=0x0 +1, 213, 213, 21, 251, 0xc7628539 +1, 234, 234, 22, 243, 0x99ef768b +0, 250, 334, 41, 17595, 0x1e502128, F=0x0 +1, 256, 256, 21, 257, 0x233f7ccc +1, 277, 277, 21, 264, 0x7d9f7bd9 +0, 292, 292, 41, 741, 0xe6b94afc, F=0x0 +1, 298, 298, 21, 298, 0x51478f98 +1, 319, 319, 22, 323, 0x419d9938 +0, 334, 417, 41, 16138, 0xba72f2fe, F=0x0 +1, 341, 341, 21, 309, 0x6219980c +1, 362, 362, 21, 325, 0x3fb3976f +0, 375, 375, 41, 322, 0xd6bf790f, F=0x0 +1, 383, 383, 21, 325, 0xcd7a9fd6 +1, 404, 404, 22, 359, 0x6edeb91c +1, 426, 426, 21, 333, 0xb8999fb7 +1, 447, 447, 21, 317, 0xf2589e1a +1, 468, 468, 21, 319, 0x82ed9572 +1, 489, 489, 22, 473, 0xea54e696