[vlc-commits] vout:win32: no need to force a place update if only the position has changed
Steve Lhomme
git at videolan.org
Mon Apr 1 16:50:16 CEST 2019
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Mar 25 14:24:38 2019 +0100| [25b8a7f311a2a87349cfb7c53a43c7491c42241b] | committer: Steve Lhomme
vout:win32: no need to force a place update if only the position has changed
The window may have moved but if the values of the place have not changed
there's no need to update the display. All the win32 modules do not depend on
the window position anymore.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=25b8a7f311a2a87349cfb7c53a43c7491c42241b
---
modules/video_output/win32/common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/video_output/win32/common.c b/modules/video_output/win32/common.c
index 845bcb6b14..b79e282449 100644
--- a/modules/video_output/win32/common.c
+++ b/modules/video_output/win32/common.c
@@ -271,7 +271,7 @@ void CommonManage(vout_display_t *vd, vout_display_sys_win32_t *sys)
RECTHeight(rect_parent),
SWP_NOZORDER);
- UpdateRects(vd, sys, true);
+ UpdateRects(vd, sys, false);
}
}
More information about the vlc-commits
mailing list