From 696b5c2b07d70ae241971bbfd48208ff7744a72a Mon Sep 17 00:00:00 2001 From: Francois Cartegnie <fcvlcdev@free.fr> Date: Wed, 14 Nov 2018 11:05:33 +0100 Subject: [PATCH] codec: bpg: set bitmask --- modules/codec/bpg.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/codec/bpg.c b/modules/codec/bpg.c index cf6add1a2d76..316b397e9eee 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; -- GitLab