From d603e73c24d6d7ad08a54c10d16c83d93b01a007 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 2 Jul 2013 14:04:36 +0200 Subject: core: cleanup more mp_fifo leftovers Now only the OSX and Wayland parts are using this. --- osdep/getch2-win.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'osdep/getch2-win.c') diff --git a/osdep/getch2-win.c b/osdep/getch2-win.c index 2edb537076..3cafcbeb7e 100644 --- a/osdep/getch2-win.c +++ b/osdep/getch2-win.c @@ -30,7 +30,6 @@ #include #include "core/input/keycodes.h" #include "core/input/input.h" -#include "core/mp_fifo.h" #include "getch2.h" int mp_input_slave_cmd_func(int fd,char* dest,int size){ @@ -158,11 +157,11 @@ static int getch2_internal(void) return -1; } -bool getch2(struct mp_fifo *fifo) +bool getch2(struct input_ctx *ctx) { int r = getch2_internal(); if (r >= 0) - mplayer_put_key(fifo, r); + mp_input_put_key(ctx, r); return true; } -- cgit v1.2.3