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:
parent
f7678575a5
commit
1dd0b2fe34
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user