Commit f966a0fa authored by Francois Cartegnie's avatar Francois Cartegnie Committed by Felix Paul Kühne

codec: SCTE-27: set visible_width/height (fix #13514)

(cherry picked from commit 014a02029419384e2c44114af192b16a934ed74e)
Signed-off-by: default avatarFelix Paul Kühne <fkuehne@videolan.org>
parent 44b4a5d9
...@@ -252,7 +252,9 @@ static subpicture_region_t *DecodeSimpleBitmap(decoder_t *dec, ...@@ -252,7 +252,9 @@ static subpicture_region_t *DecodeSimpleBitmap(decoder_t *dec,
video_format_t fmt = { video_format_t fmt = {
.i_chroma = VLC_CODEC_YUVP, .i_chroma = VLC_CODEC_YUVP,
.i_width = frame_h, .i_width = frame_h,
.i_visible_width = frame_h,
.i_height = frame_v, .i_height = frame_v,
.i_visible_height = frame_v,
.i_sar_num = 0, /* Use video AR */ .i_sar_num = 0, /* Use video AR */
.i_sar_den = 1, .i_sar_den = 1,
.p_palette = &palette, .p_palette = &palette,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment