mirror of https://github.com/mpv-player/mpv
command: shuffle cache-dump start message
This is better?
This commit is contained in:
parent
f7678575a5
commit
1dd0b2fe34
|
@ -5620,14 +5620,14 @@ static void run_dump_cmd(struct mp_cmd_ctx *cmd, double start, double end,
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mp_cmd_msg(cmd, MSGL_INFO, "Cache dumping started.");
|
||||||
|
|
||||||
if (!demux_cache_dump_set(mpctx->demuxer, start, end, filename)) {
|
if (!demux_cache_dump_set(mpctx->demuxer, start, end, filename)) {
|
||||||
mp_cmd_msg(cmd, MSGL_INFO, "Cache dumping stopped.");
|
mp_cmd_msg(cmd, MSGL_INFO, "Cache dumping stopped.");
|
||||||
mp_cmd_ctx_complete(cmd);
|
mp_cmd_ctx_complete(cmd);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
mp_cmd_msg(cmd, MSGL_INFO, "Cache dumping started.");
|
|
||||||
|
|
||||||
ctx->cache_dump_cmd = cmd;
|
ctx->cache_dump_cmd = cmd;
|
||||||
cache_dump_poll(mpctx);
|
cache_dump_poll(mpctx);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue