summaryrefslogtreecommitdiffstats
path: root/core/cfg-mplayer.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-02-16 21:17:59 +0100
committerwm4 <wm4@nowhere>2013-02-16 21:41:24 +0100
commit6d7e044eadabeac30c5701f2da516bd8394692ca (patch)
treeadfe71084928593530094b3b26570cffec8af275 /core/cfg-mplayer.h
parentf897138c2d4647cf2a7bbd0c58dc08c1f400fd48 (diff)
downloadmpv-6d7e044eadabeac30c5701f2da516bd8394692ca.tar.bz2
mpv-6d7e044eadabeac30c5701f2da516bd8394692ca.tar.xz
osd: add --no-osd-bar option to disable the OSD bar
In addition to disabling the OSD bar physically, also add some fallbacks to OSD text in places the OSD bar would have been used.
Diffstat (limited to 'core/cfg-mplayer.h')
-rw-r--r--core/cfg-mplayer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/cfg-mplayer.h b/core/cfg-mplayer.h
index 1bc01f5230..6de9b7e65c 100644
--- a/core/cfg-mplayer.h
+++ b/core/cfg-mplayer.h
@@ -499,6 +499,7 @@ const m_option_t common_opts[] = {
OPT_INTRANGE("ass-hinting", ass_hinting, 0, 0, 7),
OPT_CHOICE("ass-style-override", ass_style_override, 0,
({"no", 0}, {"yes", 1})),
+ OPT_FLAG("osd-bar", osd_bar_visible, 0),
OPT_FLOATRANGE("osd-bar-align-x", osd_bar_align_x, 0, -1.0, +1.0),
OPT_FLOATRANGE("osd-bar-align-y", osd_bar_align_y, 0, -1.0, +1.0),
OPT_GENERAL("osd", osd_style, M_OPT_PREFIXED,