1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-30 11:42:04 +00:00

command: shuffle cache-dump start message

This is better?
This commit is contained in:
wm4 2019-07-10 21:34:38 +02:00
parent f7678575a5
commit 1dd0b2fe34

View File

@ -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);
}