From 60755108a61d7ce2f5ff07226a689bde552be008 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 16 Jan 2013 00:35:12 +0100 Subject: input: enqueue commands to the end of the queue `mp_input_queue_cmd` erroneusly added commands to the head of the queue resulting in LIFO behaviour instead of the intended FIFO. --- core/input/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/input/input.c b/core/input/input.c index 1ee1ff909a..1eedadf039 100644 --- a/core/input/input.c +++ b/core/input/input.c @@ -1515,7 +1515,7 @@ int mp_input_queue_cmd(struct input_ctx *ictx, mp_cmd_t *cmd) ictx->got_new_events = true; if (!cmd) return 0; - queue_add(&ictx->control_cmd_queue, cmd, true); + queue_add(&ictx->control_cmd_queue, cmd, false); return 1; } -- cgit v1.2.3