Skip to content
Snippets Groups Projects
Commit 696b5c2b authored by François Cartegnie's avatar François Cartegnie :fingers_crossed:
Browse files

codec: bpg: set bitmask

parent 3ab8b015
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment