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

Francois Cartegnie git at videolan.org
Sat Jan 17 21:09:33 CET 2015


vlc/vlc-2.2 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Jan 16 16:58:18 2015 +0100| [f966a0fa8d82cea9554eeb1f23146abdd2e6fc47] | committer: Felix Paul Kühne

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

(cherry picked from commit 014a02029419384e2c44114af192b16a934ed74e)
Signed-off-by: Felix Paul Kühne <fkuehne at videolan.org>

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

 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