summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/mplayer.c b/mplayer.c
index c10cb61223..a9175eb28c 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -4080,11 +4080,6 @@ current_module = "init_input";
mpctx->input = mp_input_init(&opts->input);
mpctx->key_fifo = mp_fifo_create(mpctx->input, opts);
if(slave_mode) {
-#if USE_FD0_CMD_SELECT
- int flags = fcntl(0, F_GETFL);
- if (flags != -1)
- fcntl(0, F_SETFL, flags | O_NONBLOCK);
-#endif
mp_input_add_cmd_fd(mpctx->input, 0,USE_FD0_CMD_SELECT,MP_INPUT_SLAVE_CMD_FUNC,NULL);
}
else if (opts->consolecontrols)