Browse Source

codec: bpg: set bitmask

pull/80/head
Francois Cartegnie 8 years ago
parent
commit
696b5c2b07
  1. 2
      modules/codec/bpg.c

2
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;

Loading…
Cancel
Save