vlc | branch: master | Francois Cartegnie <[email protected]> | Wed Nov 14 11:05:33 2018 +0100| [696b5c2b07d70ae241971bbfd48208ff7744a72a] | committer: Francois Cartegnie
codec: bpg: set bitmask > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=696b5c2b07d70ae241971bbfd48208ff7744a72a --- modules/codec/bpg.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/codec/bpg.c b/modules/codec/bpg.c index cf6add1a2d..316b397e9e 100644 --- a/modules/codec/bpg.c +++ b/modules/codec/bpg.c @@ -120,7 +120,9 @@ static int DecodeBlock( decoder_t *p_dec, block_t *p_block ) } /* Set output properties */ + p_dec->fmt_out.video.i_chroma = p_dec->fmt_out.i_codec = VLC_CODEC_RGB24; + video_format_FixRgb(&p_dec->fmt_out.video); p_dec->fmt_out.video.i_visible_width = p_dec->fmt_out.video.i_width = img_info.width; p_dec->fmt_out.video.i_visible_height = p_dec->fmt_out.video.i_height = img_info.height; p_dec->fmt_out.video.i_sar_num = 1; _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
