summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-30 13:14:03 +0300
committerUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-30 14:46:21 +0300
commita5fdd8f6f94710d2dc14d18f12c1b79975b40bdf (patch)
tree04797742432654d92f3b97c542ef92a09577c89b /mplayer.c
parent423b95bf5cc46da5952a907fa565c0c7119724f0 (diff)
downloadmpv-a5fdd8f6f94710d2dc14d18f12c1b79975b40bdf.tar.bz2
mpv-a5fdd8f6f94710d2dc14d18f12c1b79975b40bdf.tar.xz
input: Move command filedescriptor list to context struct
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mplayer.c b/mplayer.c
index 05f7492376..34bbaad7c8 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -2875,7 +2875,7 @@ current_module = "init_input";
mpctx->input = mp_input_init(use_gui);
mp_input_add_key_fd(mpctx->input, -1,0,mplayer_get_key,NULL, mpctx->key_fifo);
if(slave_mode)
- mp_input_add_cmd_fd(0,USE_SELECT,MP_INPUT_SLAVE_CMD_FUNC,NULL);
+ mp_input_add_cmd_fd(mpctx->input, 0,USE_SELECT,MP_INPUT_SLAVE_CMD_FUNC,NULL);
else if(!noconsolecontrols)
mp_input_add_key_fd(mpctx->input, 0, 1, read_keys, NULL, mpctx->key_fifo);
// Set the libstream interrupt callback