summaryrefslogtreecommitdiffstats
path: root/video/out/w32_common.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-05-06 23:01:19 +0200
committerwm4 <wm4@nowhere>2014-05-06 23:04:33 +0200
commit41b1ed7b2e227ef27310b0a8d2c6a5772fcf95e8 (patch)
tree6416bd12f9b23fb1b0077f5e8258faeeebd84d89 /video/out/w32_common.h
parent836893fed92c0bf0e893520caa1a38e00f6bab1b (diff)
downloadmpv-41b1ed7b2e227ef27310b0a8d2c6a5772fcf95e8.tar.bz2
mpv-41b1ed7b2e227ef27310b0a8d2c6a5772fcf95e8.tar.xz
win32: don't use VOCTRL_UPDATE_SCREENINFO
Not very tested. At least it compiles.
Diffstat (limited to 'video/out/w32_common.h')
-rw-r--r--video/out/w32_common.h7
1 files changed, 6 insertions, 1 deletions
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 <stdbool.h>
#include <windows.h>
+#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 */