summaryrefslogtreecommitdiffstats
path: root/player/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/command.c')
-rw-r--r--player/command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/player/command.c b/player/command.c
index a2bdb19585..b4c2ad1201 100644
--- a/player/command.c
+++ b/player/command.c
@@ -5620,14 +5620,14 @@ static void run_dump_cmd(struct mp_cmd_ctx *cmd, double start, double end,
return;
}
+ mp_cmd_msg(cmd, MSGL_INFO, "Cache dumping started.");
+
if (!demux_cache_dump_set(mpctx->demuxer, start, end, filename)) {
mp_cmd_msg(cmd, MSGL_INFO, "Cache dumping stopped.");
mp_cmd_ctx_complete(cmd);
return;
}
- mp_cmd_msg(cmd, MSGL_INFO, "Cache dumping started.");
-
ctx->cache_dump_cmd = cmd;
cache_dump_poll(mpctx);
}