summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-07-14 09:27:04 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-07-14 09:27:04 +0000
commitde22e52855efe7491fc0dd06e3ca04ffba2b088c (patch)
tree192e6f447007ef47469fc2e15936eb603fcb10cd /mplayer.c
parentf50edb709ce78387d6470d317170a5f6cff31562 (diff)
downloadmpv-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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mplayer.c b/mplayer.c
index badc6c10fd..c5052e4e9c 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -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