mirror of
https://github.com/mpv-player/mpv
synced 2024-12-18 21:06:00 +00:00
input: fix nested commands
Regression from today.
This commit is contained in:
parent
b6d8d5e05c
commit
08116feec7
@ -265,7 +265,7 @@ static int is_abort_cmd(struct mp_cmd *cmd)
|
||||
case MP_CMD_COMMAND_LIST:;
|
||||
int r = 0;
|
||||
for (struct mp_cmd *sub = cmd->args[0].v.p; sub; sub = sub->queue_next) {
|
||||
int x = is_abort_cmd(cmd);
|
||||
int x = is_abort_cmd(sub);
|
||||
r = MPMAX(r, x);
|
||||
}
|
||||
return r;
|
||||
|
Loading…
Reference in New Issue
Block a user