[vlc-commits] vout: msw: common: provide the full picture rect as the source rect
Hugo Beauzée-Luyssen
git at videolan.org
Tue Mar 22 16:53:51 CET 2016
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Mar 17 14:02:01 2016 +0100| [e1fb625822a10b9f55da54391ec19de21df16875] | committer: Hugo Beauzée-Luyssen
vout: msw: common: provide the full picture rect as the source rect
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e1fb625822a10b9f55da54391ec19de21df16875
---
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 d3bd117..ad8d294 100644
--- a/modules/video_output/msw/common.c
+++ b/modules/video_output/msw/common.c
@@ -268,8 +268,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