diff options
author | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-04-30 13:14:03 +0300 |
---|---|---|
committer | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-04-30 14:46:21 +0300 |
commit | a5fdd8f6f94710d2dc14d18f12c1b79975b40bdf (patch) | |
tree | 04797742432654d92f3b97c542ef92a09577c89b /mplayer.c | |
parent | 423b95bf5cc46da5952a907fa565c0c7119724f0 (diff) | |
download | mpv-a5fdd8f6f94710d2dc14d18f12c1b79975b40bdf.tar.bz2 mpv-a5fdd8f6f94710d2dc14d18f12c1b79975b40bdf.tar.xz |
input: Move command filedescriptor list to context struct
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |