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
This commit is contained in:
wm4 2013-02-24 22:54:14 +01:00
parent 9042552209
commit f242741a3e
1 changed files with 1 additions and 2 deletions

View File

@ -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: