[vlc-devel] [PATCH 2/6] vout:win32: don't force a value that's the default value
Steve Lhomme
robux4 at videolabs.io
Thu May 12 12:17:15 CEST 2016
---
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 4c880fa..886d579 100644
--- a/modules/video_output/win32/common.c
+++ b/modules/video_output/win32/common.c
@@ -653,7 +653,7 @@ int CommonControl(vout_display_t *vd, int query, va_list args)
SetWindowPos(sys->hwnd, 0, 0, 0,
rect_window.right - rect_window.left,
rect_window.bottom - rect_window.top, SWP_NOMOVE);
- UpdateRects(vd, cfg, &vd->source, false);
+ UpdateRects(vd, cfg, NULL, false);
return VLC_SUCCESS;
}
case VOUT_DISPLAY_CHANGE_DISPLAY_FILLED: /* const vout_display_cfg_t *p_cfg */
--
2.8.1
More information about the vlc-devel
mailing list