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>
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
8
tests/ref/fate/hevc-monochrome-crop
Normal file
8
tests/ref/fate/hevc-monochrome-crop
Normal file
@@ -0,0 +1,8 @@
|
||||
[FRAME]
|
||||
width=384
|
||||
height=240
|
||||
[/FRAME]
|
||||
[STREAM]
|
||||
width=384
|
||||
height=240
|
||||
[/STREAM]
|
||||
Reference in New Issue
Block a user