summaryrefslogtreecommitdiffstats
path: root/options/options.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-08-28 18:15:37 +0200
committerwm4 <wm4@nowhere>2016-08-28 18:26:59 +0200
commit5086b2d4568bfd8b39a4418a2db4dbfbb1fae92f (patch)
tree32488fc28c014e96a83c575eb728443020f5557c /options/options.h
parent7af6e64db748f71b472cd2b70ef7ebbe9da97859 (diff)
downloadmpv-5086b2d4568bfd8b39a4418a2db4dbfbb1fae92f.tar.bz2
mpv-5086b2d4568bfd8b39a4418a2db4dbfbb1fae92f.tar.xz
player: add option to disable video OSD
Normally, OSD can be disabled with --osd-level=0. But this also disables terminal OSD, and some users want _only_ the terminal OSD. Add --video-osd=no, which essentially disables the video OSD. Ideally, it should probably be possible to control terminal and video OSD levels independently, but that would require separate OSD timers (and other state) for both components, so don't do it. But because the current situation isn't too ideal, add a threat to the manpage that might be changed in the future. Fixes #3387.
Diffstat (limited to 'options/options.h')
-rw-r--r--options/options.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/options/options.h b/options/options.h
index 263caaa8de..187abc2c1a 100644
--- a/options/options.h
+++ b/options/options.h
@@ -127,6 +127,8 @@ typedef struct MPOpts {
int osd_level;
int osd_duration;
int osd_fractions;
+ int video_osd;
+
int untimed;
char *stream_capture;
char *stream_dump;