summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-10-23 14:40:38 +0200
committerwm4 <wm4@nowhere>2014-10-23 15:13:05 +0200
commitdd77f0d37e6b1f73c68bd6155356590477289422 (patch)
tree8c8d5b472b65007732a247a64dbbca987db347cb /player
parent6f958be3253ed002251039be9863c130f8d443e1 (diff)
downloadmpv-dd77f0d37e6b1f73c68bd6155356590477289422.tar.bz2
mpv-dd77f0d37e6b1f73c68bd6155356590477289422.tar.xz
command: print executed commands with -v
Diffstat (limited to 'player')
-rw-r--r--player/command.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/player/command.c b/player/command.c
index 8887338a6e..d4e462a014 100644
--- a/player/command.c
+++ b/player/command.c
@@ -3720,6 +3720,8 @@ int run_command(MPContext *mpctx, mp_cmd_t *cmd)
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: ", cmd);
+
if (cmd->flags & MP_EXPAND_PROPERTIES) {
for (int n = 0; n < cmd->nargs; n++) {
if (cmd->args[n].type->type == CONF_TYPE_STRING) {