aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fate
diff options
context:
space:
mode:
authorZhao Zhili <quinkblack@foxmail.com>2018-08-22 17:37:15 +0800
committerJames Almer <jamrial@gmail.com>2018-08-22 14:01:12 -0300
commit70d2bab80b38adf6d9a1430992c33dd2e3efa93f (patch)
tree9f178d3f468d6c326cd1a9d7a8da9b24520f6ec2 /tests/fate
parent5ecd580953bbed48e144c364d3cdf7ea1f3e7ddf (diff)
downloadffmpeg-70d2bab80b38adf6d9a1430992c33dd2e3efa93f.tar.gz
lavc/hevc_ps: fix crop info for monochrome
The values of SubWidthC and SubHeightC are 1 in the ITU-T H.265. The current code use the value of 2. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'tests/fate')
-rw-r--r--tests/fate/hevc.mak3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/fate/hevc.mak b/tests/fate/hevc.mak
index 184349e5dd..db3ea19340 100644
--- a/tests/fate/hevc.mak
+++ b/tests/fate/hevc.mak
@@ -250,6 +250,9 @@ FATE_HEVC-$(call DEMDEC, MOV, HEVC) += fate-hevc-extradata-reload
fate-hevc-extradata-reload: CMD = framemd5 -i $(TARGET_SAMPLES)/hevc/extradata-reload-multi-stsd.mov -sws_flags bitexact
+fate-hevc-monochrome-crop: CMD = probeframes -show_entries frame=width,height:stream=width,height $(TARGET_SAMPLES)/hevc/hevc-monochrome.hevc
+FATE_HEVC_FFPROBE-$(call DEMDEC, HEVC, HEVC) += fate-hevc-monochrome-crop
+
FATE_SAMPLES_AVCONV += $(FATE_HEVC-yes)
FATE_SAMPLES_FFPROBE += $(FATE_HEVC_FFPROBE-yes)