summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/cfg-mplayer.h4
-rw-r--r--core/options.h2
2 files changed, 6 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),
diff --git a/core/options.h b/core/options.h
index 276745492d..9905397f0e 100644
--- a/core/options.h
+++ b/core/options.h
@@ -41,6 +41,8 @@ typedef struct mp_vo_opts {
float force_monitor_aspect;
float monitor_pixel_aspect;
int force_window_position;
+
+ int native_fs;
} mp_vo_opts;
typedef struct MPOpts {