From 41b1ed7b2e227ef27310b0a8d2c6a5772fcf95e8 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 6 May 2014 23:01:19 +0200 Subject: win32: don't use VOCTRL_UPDATE_SCREENINFO Not very tested. At least it compiles. --- video/out/w32_common.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'video/out/w32_common.h') diff --git a/video/out/w32_common.h b/video/out/w32_common.h index afe3fe871a..89d4abf670 100644 --- a/video/out/w32_common.h +++ b/video/out/w32_common.h @@ -23,9 +23,14 @@ #include #include +#include "common/common.h" + struct vo_w32_state { HWND window; + // Size and virtual position of the current screen. + struct mp_rect screenrc; + // last non-fullscreen extends (updated only on fullscreen or on initialization) int prev_width; int prev_height; @@ -66,6 +71,6 @@ int vo_w32_init(struct vo *vo); void vo_w32_uninit(struct vo *vo); int vo_w32_control(struct vo *vo, int *events, int request, void *arg); int vo_w32_check_events(struct vo *vo); -int vo_w32_config(struct vo *vo, uint32_t, uint32_t, uint32_t); +int vo_w32_config(struct vo *vo, uint32_t); #endif /* MPLAYER_W32_COMMON_H */ -- cgit v1.2.3