vlc | branch: master | Ilkka Ollakka <il...@videolan.org> | Tue Mar 18 18:41:30 
2014 +0200| [cdc35a524a7e407e1a7cb5f53db60e5d50c23391] | committer: Ilkka 
Ollakka

jpeg: set visible_ width/height

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cdc35a524a7e407e1a7cb5f53db60e5d50c23391
---

 modules/codec/jpeg.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/codec/jpeg.c b/modules/codec/jpeg.c
index 2f31052..454ae95 100644
--- a/modules/codec/jpeg.c
+++ b/modules/codec/jpeg.c
@@ -222,8 +222,8 @@ static picture_t *DecodeBlock(decoder_t *p_dec, block_t 
**pp_block)
 
     /* 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;

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to