summaryrefslogtreecommitdiffstats
path: root/player/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/misc.c')
-rw-r--r--player/misc.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/player/misc.c b/player/misc.c
index bc3a1980c9..51f3e0f863 100644
--- a/player/misc.c
+++ b/player/misc.c
@@ -188,13 +188,7 @@ void stream_dump(struct MPContext *mpctx)
(long long int)pos, (long long int)size);
}
stream_fill_buffer(stream);
- for (;;) {
- mp_cmd_t *cmd = mp_input_get_cmd(mpctx->input, 0, false);
- if (!cmd)
- break;
- run_command(mpctx, cmd);
- talloc_free(cmd);
- }
+ mp_process_input(mpctx);
}
}