/* Set output properties */
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_height = p_sys->p_jpeg.output_height;
+ 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_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_den = 1;
p_dec->fmt_out.video.i_rmask = 0x000000ff;