[vlc-commits] vout:win32: remove write-only rect_parent

Steve Lhomme git at videolan.org
Tue Apr 2 16:32:40 CEST 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Apr  2 08:57:13 2019 +0200| [4f5b06ec78a293edfb59bb34cabbc9cd1eadbc46] | committer: Steve Lhomme

vout:win32: remove write-only rect_parent

Following code removal of 5323c4c6850f5e9e9c7cc46148e9f455e9d4f2bd

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

 modules/video_output/win32/common.c | 1 -
 modules/video_output/win32/common.h | 3 ---
 2 files changed, 4 deletions(-)

diff --git a/modules/video_output/win32/common.c b/modules/video_output/win32/common.c
index 6ea32c688b..9b8066ee6f 100644
--- a/modules/video_output/win32/common.c
+++ b/modules/video_output/win32/common.c
@@ -94,7 +94,6 @@ int CommonInit(vout_display_t *vd, display_win32_area_t *area, vout_display_sys_
 #endif
     area->pf_GetDisplayDimensions = GetWindowDimensions;
     area->opaque_dimensions = sys;
-    SetRectEmpty(&sys->rect_parent);
 
     var_Create(vd, "video-deco", VLC_VAR_BOOL | VLC_VAR_DOINHERIT);
 
diff --git a/modules/video_output/win32/common.h b/modules/video_output/win32/common.h
index bcec5ddde8..5053d7fab6 100644
--- a/modules/video_output/win32/common.h
+++ b/modules/video_output/win32/common.h
@@ -60,9 +60,6 @@ typedef struct vout_display_sys_win32_t
     HWND                 hparent;             /* Handle of the parent window */
     HWND                 hfswnd;          /* Handle of the fullscreen window */
 
-    /* size of the overall window (including black bands) */
-    RECT         rect_parent;
-
 # if !defined(NDEBUG) && defined(HAVE_DXGIDEBUG_H)
     HINSTANCE     dxgidebug_dll;
 # endif



More information about the vlc-commits mailing list