summaryrefslogtreecommitdiffstats
path: root/core/options.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-07-02 14:00:24 +0200
committerwm4 <wm4@nowhere>2013-07-02 14:00:24 +0200
commit70a8079c8e0109eb89db3f3278be2a75a710c95e (patch)
treeb96d12490af3ca5e0ed95c1952ea89d0df5ac5e7 /core/options.h
parent451f6788cea2f7a90badcf2fb7e1e3679fa513cb (diff)
downloadmpv-70a8079c8e0109eb89db3f3278be2a75a710c95e.tar.bz2
mpv-70a8079c8e0109eb89db3f3278be2a75a710c95e.tar.xz
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.
Diffstat (limited to 'core/options.h')
-rw-r--r--core/options.h2
1 files changed, 1 insertions, 1 deletions
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;