summaryrefslogtreecommitdiffstats
path: root/mp_core.h
diff options
context:
space:
mode:
authorUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-20 07:36:34 +0300
committerUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-23 13:41:07 +0300
commitacf319b3edea4d8dd0fe338778e08e0d99dc49bb (patch)
tree8beb60e04061fd392637dfa9859a379e2c96f5c8 /mp_core.h
parentd283d5236ab36bc55c73de4e152dabea7098f850 (diff)
downloadmpv-acf319b3edea4d8dd0fe338778e08e0d99dc49bb.tar.bz2
mpv-acf319b3edea4d8dd0fe338778e08e0d99dc49bb.tar.xz
Create a struct for X11 state
Will be used for common data between X11 VOs. The main reasons for making it a separate struct rather than extra fields in the main VO struct are that some field definitions need X headers and that the code keeps basic X state such as the display connection over opening and closing of individual VOs.
Diffstat (limited to 'mp_core.h')
-rw-r--r--mp_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mp_core.h b/mp_core.h
index c40c948114..df9d3098e7 100644
--- a/mp_core.h
+++ b/mp_core.h
@@ -44,6 +44,7 @@
typedef struct MPContext {
struct MPOpts opts;
+ struct vo_x11_state *x11_state;
int osd_show_percentage;
int osd_function;
const ao_functions_t *audio_out;