Commit 014a0202 authored by Francois Cartegnie's avatar Francois Cartegnie

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

parent 9d30c4c5
...@@ -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