summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-02-24 22:54:14 +0100
committerwm4 <wm4@nowhere>2013-02-26 01:55:52 +0100
commitf242741a3ed2e873ba0928d961b2cbd74da3a561 (patch)
treecd7cec8332d0916019a0d8d60ac5f7bfe62983d3 /core
parent90425522091ecd8aa1e91868e519c3ac62dad4f0 (diff)
downloadmpv-f242741a3ed2e873ba0928d961b2cbd74da3a561.tar.bz2
mpv-f242741a3ed2e873ba0928d961b2cbd74da3a561.tar.xz
screenshot: make showing OSD message when taking a screenshot default
This can be disabled by prefixing the "screenshot" command with "no-osd" in input.conf: s no-osd screenshot
Diffstat (limited to 'core')
-rw-r--r--core/command.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/command.c b/core/command.c
index 8cd9ed07d1..1fe6937e6b 100644
--- a/core/command.c
+++ b/core/command.c
@@ -2166,8 +2166,7 @@ void run_command(MPContext *mpctx, mp_cmd_t *cmd)
}
case MP_CMD_SCREENSHOT:
- screenshot_request(mpctx, cmd->args[0].v.i, cmd->args[1].v.i,
- !!(cmd->on_osd & MP_ON_OSD_MSG));
+ screenshot_request(mpctx, cmd->args[0].v.i, cmd->args[1].v.i, msg_osd);
break;
case MP_CMD_RUN: