[vlc-commits] vout: msw: Fix rect_src size

Hugo Beauzée-Luyssen git at videolan.org
Thu Feb 18 18:19:12 CET 2016


vlc/vlc-2.2 | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Feb 18 16:29:45 2016 +0100| [5a3eec691847e98d07da40daa1f68c80f2e3fd88] | committer: Hugo Beauzée-Luyssen

vout: msw: Fix rect_src size

Fixes #16597

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

 modules/video_output/msw/common.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/video_output/msw/common.c b/modules/video_output/msw/common.c
index 0441957..ec4a3eb 100644
--- a/modules/video_output/msw/common.c
+++ b/modules/video_output/msw/common.c
@@ -403,8 +403,8 @@ void UpdateRects(vout_display_t *vd,
     /* src image dimensions */
     rect_src.left   = 0;
     rect_src.top    = 0;
-    rect_src.right  = vd->fmt.i_visible_width;
-    rect_src.bottom = vd->fmt.i_visible_height;
+    rect_src.right  = vd->fmt.i_width;
+    rect_src.bottom = vd->fmt.i_height;
 
     /* Clip the source image */
     rect_src_clipped.left = source->i_x_offset +



More information about the vlc-commits mailing list