aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorZhong Li <zhong.li@intel.com>2017-10-23 15:18:12 +0800
committerMichael Niedermayer <michael@niedermayer.cc>2017-10-25 00:18:41 +0200
commit7e294a1f09a2b7bbba5c057e23e533fffef5336d (patch)
treec7a0d508faa31dca7a3c0c4f863f3a543e4d5dbd /tests
parent431eccd61e155190a7762314938799076cffeb67 (diff)
downloadffmpeg-7e294a1f09a2b7bbba5c057e23e533fffef5336d.tar.gz
fate: add a test for mpeg2 issue of ticket #6677
Signed-off-by: Zhong Li <zhong.li@intel.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/video.mak3
-rw-r--r--tests/ref/fate/mpeg2-ticket667712
2 files changed, 15 insertions, 0 deletions
diff --git a/tests/fate/video.mak b/tests/fate/video.mak
index 6f76365165..51678078a3 100644
--- a/tests/fate/video.mak
+++ b/tests/fate/video.mak
@@ -257,6 +257,9 @@ fate-mpeg2-ticket186: CMD = framecrc -flags +bitexact -idct simple -i $(TARGET_S
FATE_VIDEO-$(call DEMDEC, MPEGPS, MPEG2VIDEO) += fate-mpeg2-ticket6024
fate-mpeg2-ticket6024: CMD = framecrc -flags +bitexact -idct simple -flags +truncated -i $(TARGET_SAMPLES)/mpeg2/matrixbench_mpeg2.lq1.mpg -an
+FATE_VIDEO-$(call DEMDEC, MPEGVIDEO, MPEG2VIDEO) += fate-mpeg2-ticket6677
+fate-mpeg2-ticket6677: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/mpeg2/sony-ct3.bs
+
FATE_VIDEO-$(call DEMDEC, MV, MVC1) += fate-mv-mvc1
fate-mv-mvc1: CMD = framecrc -i $(TARGET_SAMPLES)/mv/posture.mv -an -frames 25 -pix_fmt rgb555le
diff --git a/tests/ref/fate/mpeg2-ticket6677 b/tests/ref/fate/mpeg2-ticket6677
new file mode 100644
index 0000000000..5fc7cb2a26
--- /dev/null
+++ b/tests/ref/fate/mpeg2-ticket6677
@@ -0,0 +1,12 @@
+#tb 0: 1/30
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 720x480
+#sar 0: 8/9
+0, 0, 0, 1, 518400, 0x354b6fc3
+0, 1, 1, 1, 518400, 0xd86f281b
+0, 2, 2, 1, 518400, 0xdd2e2b38
+0, 3, 3, 1, 518400, 0x589535d4
+0, 4, 4, 1, 518400, 0x3f8f02b6
+0, 5, 5, 1, 518400, 0xa81b246a
+0, 6, 6, 1, 518400, 0xb98dd9f7