vlc | branch: master | Tristan Matthews <le.business...@gmail.com> | Tue Mar 18 13:30:15 2014 -0400| [4c156e1054ce76bf305ae103646ce92ed6295e7b] | committer: Tristan Matthews
png: set visible_ width/height > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4c156e1054ce76bf305ae103646ce92ed6295e7b --- modules/codec/png.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/codec/png.c b/modules/codec/png.c index 54a90fc..d03e15a 100644 --- a/modules/codec/png.c +++ b/modules/codec/png.c @@ -251,8 +251,8 @@ static picture_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block ) /* Set output properties */ p_dec->fmt_out.i_codec = VLC_CODEC_RGBA; - p_dec->fmt_out.video.i_width = i_width; - p_dec->fmt_out.video.i_height = i_height; + p_dec->fmt_out.video.i_visible_width = p_dec->fmt_out.video.i_width = i_width; + p_dec->fmt_out.video.i_visible_height = p_dec->fmt_out.video.i_height = i_height; p_dec->fmt_out.video.i_sar_num = 1; p_dec->fmt_out.video.i_sar_den = 1; p_dec->fmt_out.video.i_rmask = 0x000000ff; _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits