summaryrefslogtreecommitdiffstats
path: root/player/core.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-02-11 20:09:44 +0100
committerwm4 <wm4@nowhere>2014-02-11 20:11:05 +0100
commit623cffdce93458cc2247c47606dd9af6b88b7606 (patch)
tree59ae9f18dcee5e853b416e928334dd78a2e44512 /player/core.h
parent5020395c8354cc6d9bb3c65ab0a455f36c69b49b (diff)
downloadmpv-623cffdce93458cc2247c47606dd9af6b88b7606.tar.bz2
mpv-623cffdce93458cc2247c47606dd9af6b88b7606.tar.xz
player: fix --force-window on OSX
The initialization code was split and refactored for the libmpv changes. One change, moving a part of cocoa initialization, accidentally broke --force-window on OSX, which creates a VO in a certain initialization stage. We still don't know how cocoa should behave with libmpv, so fix this with a hack to beat it back into working. Untested.
Diffstat (limited to 'player/core.h')
-rw-r--r--player/core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/player/core.h b/player/core.h
index b772f862f7..12f248dcc2 100644
--- a/player/core.h
+++ b/player/core.h
@@ -141,6 +141,7 @@ enum {
typedef struct MPContext {
bool initialized;
+ bool is_cplayer;
struct mpv_global *global;
struct MPOpts *opts;
struct mp_log *log;