diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2013-05-11 00:22:23 +0200 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2013-05-12 15:27:54 +0200 |
commit | 74c15ec696036a00fbd55398e758cc128f5aefea (patch) | |
tree | b9e162070a517f70ab599edcdef99b5a1e3ba9fa /core/cfg-mplayer.h | |
parent | 6a14dd593fe9cd14bbb9fa86a1f77944d12a8275 (diff) | |
download | mpv-74c15ec696036a00fbd55398e758cc128f5aefea.tar.bz2 mpv-74c15ec696036a00fbd55398e758cc128f5aefea.tar.xz |
cocoa_common: add native OSX fullscreen support
This adds Mission Control fullscreen functionality to mpv. Since this doesn't
play well with many of mpv's features disable it by default. Users can activate
this feature by using `--native-fs` when starting mpv.
Fixes #34
Diffstat (limited to 'core/cfg-mplayer.h')
-rw-r--r-- | core/cfg-mplayer.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/cfg-mplayer.h b/core/cfg-mplayer.h index f2e90d07d2..5b30e387c3 100644 --- a/core/cfg-mplayer.h +++ b/core/cfg-mplayer.h @@ -611,6 +611,10 @@ const m_option_t mplayer_opts[]={ OPT_CHOICE_OR_INT("fs-screen", vo.fsscreen_id, 0, 0, 32, ({"all", -2}, {"current", -1})), +#ifdef CONFIG_COCOA + OPT_FLAG("native-fs", vo.native_fs, 0), +#endif + OPT_INTRANGE("brightness", gamma_brightness, 0, -100, 100), OPT_INTRANGE("saturation", gamma_saturation, 0, -100, 100), OPT_INTRANGE("contrast", gamma_contrast, 0, -100, 100), |