summaryrefslogtreecommitdiffstats
path: root/player/playloop.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-04-20 23:00:12 +0200
committerwm4 <wm4@nowhere>2015-04-20 23:00:12 +0200
commitf13266014f328fed9eda41047f0a1700348ba923 (patch)
treec96231ccdc0f363933a2ed47d8a0a8bdca70eb83 /player/playloop.c
parentdebf57bb0d5896fc68e6acc293112eaaf0d3f2d4 (diff)
downloadmpv-f13266014f328fed9eda41047f0a1700348ba923.tar.bz2
mpv-f13266014f328fed9eda41047f0a1700348ba923.tar.xz
client API: add glue for making full use of mpv_command_node()
Until now, the return value was always MPV_FORMAT_NONE. Now a command can actually set it. This will be used in one of the following commits.
Diffstat (limited to 'player/playloop.c')
-rw-r--r--player/playloop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/playloop.c b/player/playloop.c
index 1f480cf3ba..1c10c3e962 100644
--- a/player/playloop.c
+++ b/player/playloop.c
@@ -67,7 +67,7 @@ void mp_process_input(struct MPContext *mpctx)
mp_cmd_t *cmd = mp_input_read_cmd(mpctx->input);
if (!cmd)
break;
- run_command(mpctx, cmd);
+ run_command(mpctx, cmd, NULL);
mp_cmd_free(cmd);
mp_dispatch_queue_process(mpctx->dispatch, 0);
}