diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-07-14 09:27:04 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-07-14 09:27:04 +0000 |
commit | de22e52855efe7491fc0dd06e3ca04ffba2b088c (patch) | |
tree | 192e6f447007ef47469fc2e15936eb603fcb10cd /mplayer.c | |
parent | f50edb709ce78387d6470d317170a5f6cff31562 (diff) | |
download | mpv-de22e52855efe7491fc0dd06e3ca04ffba2b088c.tar.bz2 mpv-de22e52855efe7491fc0dd06e3ca04ffba2b088c.tar.xz |
-use-stdin renamed to -noconsolecontrols.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12817 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -184,7 +184,7 @@ extern void vf_list_plugins(); // Common FIFO functions, and keyboard/event FIFO code #include "fifo.c" -int use_stdin=0; +int noconsolecontrols=0; //**************************************************************************// vo_functions_t *video_out=NULL; @@ -1146,7 +1146,7 @@ if(slave_mode) #else mp_input_add_cmd_fd(0,0,mp_input_win32_slave_cmd_func,NULL); #endif -else if(!use_stdin) +else if(!noconsolecontrols) #ifndef HAVE_NO_POSIX_SELECT mp_input_add_key_fd(0,1,NULL,NULL); #else @@ -1211,7 +1211,7 @@ play_next_file: // We must enable getch2 here to be able to interrupt network connection // or cache filling -if(!use_stdin && !slave_mode){ +if(!noconsolecontrols && !slave_mode){ if(inited_flags&INITED_GETCH2) mp_msg(MSGT_CPLAYER,MSGL_WARN,"WARNING: getch2_init called twice!\n"); else |