vlc | branch: master | Felix Abecassis <felix.abecas...@gmail.com> | Wed Mar 12 
16:48:17 2014 +0100| [6cddc0388fec4ff572f33fcabfe9a5fa87c2b1b1] | committer: 
Felix Abecassis

Win32: the dimensions of the unclipped source rectangle should be the original 
format of the video

Fix #10886

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

 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 529db39..fbf790c 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  = source->i_visible_width;
-    rect_src.bottom = source->i_visible_height;
+    rect_src.right  = vd->fmt.i_visible_width;
+    rect_src.bottom = vd->fmt.i_visible_height;
 
     /* Clip the source image */
     rect_src_clipped.left = source->i_x_offset +

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

Reply via email to