diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-02-21 16:20:33 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-02-21 16:20:33 +0000 |
commit | febce72028665803466d24a80086d6e836a09b31 (patch) | |
tree | 2a1a1bb1cb2c38a51d18ef8c9c88a901d18315b7 /mplayer.c | |
parent | 895fc255537eda5e9f7aef9119b22607dbc39eee (diff) | |
download | mpv-febce72028665803466d24a80086d6e836a09b31.tar.bz2 mpv-febce72028665803466d24a80086d6e836a09b31.tar.xz |
OS/2 getch2() support
patch by KO Myung-Hun, komh chollian net
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26048 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -2849,11 +2849,7 @@ current_module = "init_input"; mp_input_init(use_gui); mp_input_add_key_fd(-1,0,mplayer_get_key,NULL); if(slave_mode) -#ifndef __MINGW32__ - mp_input_add_cmd_fd(0,1,NULL,NULL); -#else - mp_input_add_cmd_fd(0,0,mp_input_slave_cmd_func,NULL); -#endif + mp_input_add_cmd_fd(0,USE_SELECT,MP_INPUT_SLAVE_CMD_FUNC,NULL); else if(!noconsolecontrols) mp_input_add_event_fd(0, getch2); |