summaryrefslogtreecommitdiffstats
path: root/mpvcore/mplayer.c
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2013-09-10 08:29:45 +0200
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2013-09-10 21:31:02 +0200
commit763f33424e7aba1800f3f0eee2a81a6cfe8d43ba (patch)
tree8e216a09a53c1d8bc5ab2e916330ce221c4960d4 /mpvcore/mplayer.c
parent49849190dd1fe1d6d5d30502b504a73d63230536 (diff)
downloadmpv-763f33424e7aba1800f3f0eee2a81a6cfe8d43ba.tar.bz2
mpv-763f33424e7aba1800f3f0eee2a81a6cfe8d43ba.tar.xz
input: convert to new msg API
Diffstat (limited to 'mpvcore/mplayer.c')
-rw-r--r--mpvcore/mplayer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpvcore/mplayer.c b/mpvcore/mplayer.c
index 0128ddbd45..caa26b71b4 100644
--- a/mpvcore/mplayer.c
+++ b/mpvcore/mplayer.c
@@ -3978,7 +3978,7 @@ static int read_keys(void *ctx, int fd)
static void init_input(struct MPContext *mpctx)
{
- mpctx->input = mp_input_init(mpctx->opts);
+ mpctx->input = mp_input_init(mpctx->global);
if (mpctx->opts->slave_mode)
mp_input_add_cmd_fd(mpctx->input, 0, USE_FD0_CMD_SELECT, MP_INPUT_SLAVE_CMD_FUNC, NULL);
else if (mpctx->opts->consolecontrols)