summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2013-03-20 17:44:43 +0100
committerJanne Grunau <janne-libav@jannau.net>2013-03-22 21:58:01 +0100
commit3f15b301fa61547f59f1452b14edf14e5673fdd2 (patch)
tree1c1130069e7a0bd2a677dd698629ee611450e838
parent93eaeb02443602e8c9b8fc1f3f49504a9892b647 (diff)
fate: add test for cropping h264 to container dimensions
Tests the workaround added for 1080 videos created with Canon cameras in 30f515091c323da59c0f1b533703dedca2f4b95d.
-rw-r--r--tests/fate/h264.mak2
-rw-r--r--tests/ref/fate/h264-crop-to-container2
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/fate/h264.mak b/tests/fate/h264.mak
index 90e036be9b..fcecc8f016 100644
--- a/tests/fate/h264.mak
+++ b/tests/fate/h264.mak
@@ -182,6 +182,7 @@ FATE_H264 := $(FATE_H264:%=fate-h264-conformance-%) \
fate-h264-lossless \
FATE_H264-$(call DEMDEC, H264, H264) += $(FATE_H264)
+FATE_H264-$(call DEMDEC, MOV, H264) += fate-h264-crop-to-container
FATE_H264-$(call DEMDEC, MOV, H264) += fate-h264-interlace-crop
FATE_H264-$(call ALLYES, MOV_DEMUXER H264_MP4TOANNEXB_BSF) += fate-h264-bsf-mp4toannexb
@@ -362,6 +363,7 @@ fate-h264-conformance-sva_nl1_b: CMD = framecrc -i $(SAMPLES)/h
fate-h264-conformance-sva_nl2_e: CMD = framecrc -i $(SAMPLES)/h264-conformance/SVA_NL2_E.264
fate-h264-bsf-mp4toannexb: CMD = md5 -i $(SAMPLES)/h264/interlaced_crop.mp4 -vcodec copy -bsf h264_mp4toannexb -f h264
+fate-h264-crop-to-container: CMD = framemd5 -i $(SAMPLES)/h264/crop-to-container-dims-canon.mov
fate-h264-extreme-plane-pred: CMD = framemd5 -i $(SAMPLES)/h264/extreme-plane-pred.h264
fate-h264-interlace-crop: CMD = framecrc -i $(SAMPLES)/h264/interlaced_crop.mp4 -vframes 3
fate-h264-lossless: CMD = framecrc -i $(SAMPLES)/h264/lossless.h264
diff --git a/tests/ref/fate/h264-crop-to-container b/tests/ref/fate/h264-crop-to-container
new file mode 100644
index 0000000000..5dfa44157c
--- /dev/null
+++ b/tests/ref/fate/h264-crop-to-container
@@ -0,0 +1,2 @@
+#tb 0: 1/30000
+0, 0, 0, 0, 3110400, 43a312e1eebc7dca1bd23456302a44e3