summaryrefslogtreecommitdiffstats
path: root/command.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2010-11-13 22:10:58 +0100
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-14 00:14:56 +0200
commit7eb48343d47981fc38e0d4c7d9c78ae7ac2662b0 (patch)
tree7946cfa589b2d90187419fc5977f85571c901c46 /command.c
parent9a9a7feafe213147de93bb34d1e4f70a99777b15 (diff)
downloadmpv-7eb48343d47981fc38e0d4c7d9c78ae7ac2662b0.tar.bz2
mpv-7eb48343d47981fc38e0d4c7d9c78ae7ac2662b0.tar.xz
options: more mplayer.c options moved to option struct
Following options were moved: autoq, benchmark, [no]term-osd, term-osd-esc, playing-msg, [no]idle, [no]consolecontrols, list-properties.
Diffstat (limited to 'command.c')
-rw-r--r--command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/command.c b/command.c
index f099322428..4ffe29a351 100644
--- a/command.c
+++ b/command.c
@@ -2924,7 +2924,7 @@ void run_command(MPContext *mpctx, mp_cmd_t *cmd)
case MP_CMD_OSD:{
int v = cmd->args[0].v.i;
- int max = (term_osd
+ int max = (opts->term_osd
&& !sh_video) ? MAX_TERM_OSD_LEVEL : MAX_OSD_LEVEL;
if (opts->osd_level > max)
opts->osd_level = max;