From 043512045eb2b4c3b6a382f2bfe6be5bc01b6c8b Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 11 Sep 2016 19:45:11 +0200 Subject: command: don't log "ignore" command with -v verbosity It's damn annoying because the mouse move input event is mapped to this by default. --- player/command.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'player') diff --git a/player/command.c b/player/command.c index f6a66e80e2..152e232d62 100644 --- a/player/command.c +++ b/player/command.c @@ -4635,7 +4635,8 @@ int run_command(struct MPContext *mpctx, struct mp_cmd *cmd, struct mpv_node *re bool msg_or_nobar_osd = msg_osd && !(auto_osd && opts->osd_bar_visible); int osdl = msg_osd ? 1 : OSD_LEVEL_INVISIBLE; - mp_cmd_dump(mpctx->log, MSGL_V, "Run command:", cmd); + mp_cmd_dump(mpctx->log, cmd->id == MP_CMD_IGNORE ? MSGL_DEBUG : MSGL_V, + "Run command:", cmd); if (cmd->flags & MP_EXPAND_PROPERTIES) { for (int n = 0; n < cmd->nargs; n++) { -- cgit v1.2.3