[vlc-commits] codec: SCTE-27: set visible_width/height (fix #13514)

Francois Cartegnie git at videolan.org
Fri Jan 16 17:01:40 CET 2015


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Jan 16 16:58:18 2015 +0100| [014a02029419384e2c44114af192b16a934ed74e] | committer: Francois Cartegnie

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

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=014a02029419384e2c44114af192b16a934ed74e
---

 modules/codec/scte27.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/codec/scte27.c b/modules/codec/scte27.c
index a348da5..527e4e4 100644
--- a/modules/codec/scte27.c
+++ b/modules/codec/scte27.c
@@ -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,



More information about the vlc-commits mailing list