diff options
author | wm4 <wm4@nowhere> | 2013-02-16 21:17:59 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-02-16 21:41:24 +0100 |
commit | 6d7e044eadabeac30c5701f2da516bd8394692ca (patch) | |
tree | adfe71084928593530094b3b26570cffec8af275 /core/mplayer.c | |
parent | f897138c2d4647cf2a7bbd0c58dc08c1f400fd48 (diff) | |
download | mpv-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/mplayer.c')
-rw-r--r-- | core/mplayer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/mplayer.c b/core/mplayer.c index 29e06e0caa..40ab1ffad3 100644 --- a/core/mplayer.c +++ b/core/mplayer.c @@ -1382,7 +1382,7 @@ void set_osd_bar(struct MPContext *mpctx, int type, const char *name, double min, double max, double val) { struct MPOpts *opts = &mpctx->opts; - if (opts->osd_level < 1) + if (opts->osd_level < 1 || !opts->osd_bar_visible) return; if (mpctx->sh_video && opts->term_osd != 1) { |