diff options
Diffstat (limited to 'core/command.c')
-rw-r--r-- | core/command.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/command.c b/core/command.c index 80f6f5d9d2..848ebb848f 100644 --- a/core/command.c +++ b/core/command.c @@ -2507,6 +2507,12 @@ void run_command(MPContext *mpctx, mp_cmd_t *cmd) change_video_filters(mpctx, cmd->args[0].v.s, cmd->args[1].v.s); break; + case MP_CMD_COMMAND_LIST: { + for (struct mp_cmd *sub = cmd->args[0].v.p; sub; sub = sub->queue_next) + run_command(mpctx, sub); + break; + } + default: mp_msg(MSGT_CPLAYER, MSGL_V, "Received unknown cmd %s\n", cmd->name); |