From 7eb48343d47981fc38e0d4c7d9c78ae7ac2662b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Sat, 13 Nov 2010 22:10:58 +0100 Subject: 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. --- command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'command.c') 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; -- cgit v1.2.3