diff options
author | wm4 <wm4@nowhere> | 2013-02-24 22:54:14 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-02-26 01:55:52 +0100 |
commit | f242741a3ed2e873ba0928d961b2cbd74da3a561 (patch) | |
tree | cd7cec8332d0916019a0d8d60ac5f7bfe62983d3 /core/command.c | |
parent | 90425522091ecd8aa1e91868e519c3ac62dad4f0 (diff) | |
download | mpv-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/command.c')
-rw-r--r-- | core/command.c | 3 |
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: |