From 857952dce3e78e678bf6d14046e2290e7016d6b8 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 20 Feb 2014 13:38:39 +0100 Subject: input: check for abort cmd in multi-commands MP_CMD_COMMAND_LIST commands (used to implement key bindings with multiple commands) were not checked for abort commands. Implement it. Remove the remarks about multi-commands being special from the manpage. Seek coalescing is handled differently now, and the issue with abort commands is fixed with this commit. --- player/loadfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player/loadfile.c') diff --git a/player/loadfile.c b/player/loadfile.c index f062bce27c..b5b42fe67c 100644 --- a/player/loadfile.c +++ b/player/loadfile.c @@ -1024,7 +1024,7 @@ static bool demux_was_interrupted(struct MPContext *mpctx) mp_cmd_t *cmd = mp_input_get_cmd(mpctx->input, 0, 0); if (!cmd) break; - if (mp_input_is_abort_cmd(cmd->id)) + if (mp_input_is_abort_cmd(cmd)) run_command(mpctx, cmd); mp_cmd_free(cmd); } -- cgit v1.2.3