From 70a8079c8e0109eb89db3f3278be2a75a710c95e Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 2 Jul 2013 14:00:24 +0200 Subject: core: remove mp_fifo indirection For some reason mp_fifo specifically handled double clicks, and other than that was a pointless wrapper around input.c functionality. Move the double click handling into input.c, and get rid of mp_fifo. Add some compatibility wrappers, because so much VO code uses these functions. Where struct mp_fifo is still used it's just a casted struct input_ctx. --- core/options.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/options.h') diff --git a/core/options.h b/core/options.h index 48a51a9c27..80398bae95 100644 --- a/core/options.h +++ b/core/options.h @@ -119,7 +119,6 @@ typedef struct MPOpts { int player_idle_mode; int slave_mode; int consolecontrols; - int doubleclick_time; int list_properties; struct m_rel_time play_start; struct m_rel_time play_end; @@ -228,6 +227,7 @@ typedef struct MPOpts { struct input_conf { char *config_file; + int doubleclick_time; int key_fifo_size; int ar_delay; int ar_rate; -- cgit v1.2.3