summaryrefslogtreecommitdiffstats
path: root/libvo/video_out.h
diff options
context:
space:
mode:
authorwm4 <wm4@mplayer2.org>2012-04-14 13:39:53 +0200
committerwm4 <wm4@mplayer2.org>2012-04-14 17:03:11 +0200
commit923f353d2ab9fa24d3a3989c23cec88499068b77 (patch)
tree3bdebdf5a426b7bcc50a4d6bb6efe2a7f9a7ffdb /libvo/video_out.h
parent8c041127d1a3445e482472cb5cff8116c07dab25 (diff)
downloadmpv-923f353d2ab9fa24d3a3989c23cec88499068b77.tar.bz2
mpv-923f353d2ab9fa24d3a3989c23cec88499068b77.tar.xz
win32: move global variables into a struct & some refactoring
This reflects the changes done to x11_common in mplayer2 some years ago. It makes it possible to open multiple VOs at once. The removed defines are probably for ancient versions of MinGW with incomplete headers. Remove some minor code duplication.
Diffstat (limited to 'libvo/video_out.h')
-rw-r--r--libvo/video_out.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libvo/video_out.h b/libvo/video_out.h
index 3dd3ca8a8d..1fe726def5 100644
--- a/libvo/video_out.h
+++ b/libvo/video_out.h
@@ -273,6 +273,7 @@ struct vo {
void *priv;
struct MPOpts *opts;
struct vo_x11_state *x11;
+ struct vo_w32_state *w32;
struct mp_fifo *key_fifo;
struct input_ctx *input_ctx;
int event_fd; // check_events() should be called when this has input