mirror of https://github.com/mpv-player/mpv
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:
parent
9042552209
commit
f242741a3e
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue