diff options
author | wm4 <wm4@nowhere> | 2019-07-10 21:34:38 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-09-19 20:37:05 +0200 |
commit | 1dd0b2fe3468f690d23049343aa03c15abb8672f (patch) | |
tree | f0392bfe4a5f1e87de634895f437319b25862e79 /player | |
parent | f7678575a5d7f598abf267cb303e0a74db276f27 (diff) | |
download | mpv-1dd0b2fe3468f690d23049343aa03c15abb8672f.tar.bz2 mpv-1dd0b2fe3468f690d23049343aa03c15abb8672f.tar.xz |
command: shuffle cache-dump start message
This is better?
Diffstat (limited to 'player')
-rw-r--r-- | player/command.c | 4 |
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); } |