diff options
author | wm4 <wm4@nowhere> | 2016-09-11 19:45:11 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-09-11 19:45:11 +0200 |
commit | 043512045eb2b4c3b6a382f2bfe6be5bc01b6c8b (patch) | |
tree | 82a06e5869adc615b0db50dbf172e16250978ff9 /player/command.c | |
parent | 6ac0ef78c52e5c01720bddcb83ea46d52c7443bf (diff) | |
download | mpv-043512045eb2b4c3b6a382f2bfe6be5bc01b6c8b.tar.bz2 mpv-043512045eb2b4c3b6a382f2bfe6be5bc01b6c8b.tar.xz |
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.
Diffstat (limited to 'player/command.c')
-rw-r--r-- | player/command.c | 3 |
1 files changed, 2 insertions, 1 deletions
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++) { |