From 1dd0b2fe3468f690d23049343aa03c15abb8672f Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 10 Jul 2019 21:34:38 +0200 Subject: command: shuffle cache-dump start message This is better? --- player/command.c | 4 ++-- 1 file 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); } -- cgit v1.2.3