[vlc-commits] vout:win32: don't force a value that's the default value

Steve Lhomme git at videolan.org
Thu May 12 13:34:34 CEST 2016


vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Thu May 12 12:17:15 2016 +0200| [f548822c6b4131e29875921e1599788e0a3f604d] | committer: Jean-Baptiste Kempf

vout:win32: don't force a value that's the default value

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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 */



More information about the vlc-commits mailing list