summaryrefslogtreecommitdiffstats
path: root/cfg-mplayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'cfg-mplayer.h')
-rw-r--r--cfg-mplayer.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/cfg-mplayer.h b/cfg-mplayer.h
index 342fbccd62..a790b52fdc 100644
--- a/cfg-mplayer.h
+++ b/cfg-mplayer.h
@@ -907,7 +907,15 @@ const m_option_t mplayer_opts[]={
OPT_STRING("rtc-device", rtc_device, 0),
#endif
- OPT_MAKE_FLAGS("term-osd", term_osd, 0),
+ OPT_CHOICE("term-osd", term_osd, M_OPT_IMPLICIT_DEFAULT,
+ ({"force", 1},
+ {"auto", 2},
+ {"off", 0})),
+
+ // set term_osd to 0
+ // this is for compatibility
+ {"noterm-osd", NULL, &m_option_type_flag, 0, 1, 0, NULL, 1, offsetof(struct MPOpts, term_osd)},
+
OPT_STRING("term-osd-esc", term_osd_esc, 0),
OPT_STRING("playing-msg", playing_msg, 0),