Commit cdc35a52 authored by Ilkka Ollakka's avatar Ilkka Ollakka

jpeg: set visible_ width/height

parent c9699d8f
...@@ -222,8 +222,8 @@ static picture_t *DecodeBlock(decoder_t *p_dec, block_t **pp_block) ...@@ -222,8 +222,8 @@ static picture_t *DecodeBlock(decoder_t *p_dec, block_t **pp_block)
/* Set output properties */ /* Set output properties */
p_dec->fmt_out.i_codec = VLC_CODEC_RGB24; p_dec->fmt_out.i_codec = VLC_CODEC_RGB24;
p_dec->fmt_out.video.i_width = p_sys->p_jpeg.output_width; p_dec->fmt_out.video.i_visible_width = p_dec->fmt_out.video.i_width = p_sys->p_jpeg.output_width;
p_dec->fmt_out.video.i_height = p_sys->p_jpeg.output_height; p_dec->fmt_out.video.i_visible_height = p_dec->fmt_out.video.i_height = p_sys->p_jpeg.output_height;
p_dec->fmt_out.video.i_sar_num = 1; p_dec->fmt_out.video.i_sar_num = 1;
p_dec->fmt_out.video.i_sar_den = 1; p_dec->fmt_out.video.i_sar_den = 1;
p_dec->fmt_out.video.i_rmask = 0x000000ff; p_dec->fmt_out.video.i_rmask = 0x000000ff;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment