]> git.sesse.net Git - vlc/commitdiff
codec: SCTE-27: set visible_width/height (fix #13514)
authorFrancois Cartegnie <fcvlcdev@free.fr>
Fri, 16 Jan 2015 15:58:18 +0000 (16:58 +0100)
committerFrancois Cartegnie <fcvlcdev@free.fr>
Fri, 16 Jan 2015 16:01:33 +0000 (17:01 +0100)
modules/codec/scte27.c

index a348da5a9268dd416c13156ddd67360110ee4411..527e4e45048217fcb2e2157928c02036ef37d00a 100644 (file)
@@ -252,7 +252,9 @@ static subpicture_region_t *DecodeSimpleBitmap(decoder_t *dec,
     video_format_t fmt = {
         .i_chroma = VLC_CODEC_YUVP,
         .i_width = frame_h,
+        .i_visible_width = frame_h,
         .i_height = frame_v,
+        .i_visible_height = frame_v,
         .i_sar_num = 0, /* Use video AR */
         .i_sar_den = 1,
         .p_palette = &palette,