summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
Diffstat (limited to 'options')
-rw-r--r--options/options.c6
-rw-r--r--options/options.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c
index be27344a14..44a9571598 100644
--- a/options/options.c
+++ b/options/options.c
@@ -589,6 +589,11 @@ const m_option_t mp_opts[] = {
OPT_FLAG("use-filedir-conf", use_filedir_conf, 0),
OPT_CHOICE("osd-level", osd_level, 0,
({"0", 0}, {"1", 1}, {"2", 2}, {"3", 3})),
+ OPT_CHOICE("osd-on-seek", osd_on_seek, 0,
+ ({"no", 0},
+ {"bar", 1},
+ {"msg", 2},
+ {"msg-bar", 3})),
OPT_INTRANGE("osd-duration", osd_duration, 0, 0, 3600000),
OPT_FLAG("osd-fractions", osd_fractions, 0),
@@ -878,6 +883,7 @@ const struct MPOpts mp_default_opts = {
.cursor_autohide_delay = 1000,
.video_osd = 1,
.osd_level = 1,
+ .osd_on_seek = 1,
.osd_duration = 1000,
#if HAVE_LUA
.lua_load_osc = 1,
diff --git a/options/options.h b/options/options.h
index 424a1c8f0e..97f01e21f9 100644
--- a/options/options.h
+++ b/options/options.h
@@ -183,6 +183,7 @@ typedef struct MPOpts {
int osd_level;
int osd_duration;
int osd_fractions;
+ int osd_on_seek;
int video_osd;
int untimed;