[MPlayer-cygwin] mingw slave mode issue

Szecsi Gabor deje at miki.hu
Mon Jun 21 23:10:43 CEST 2004


Hi there

There is a problem with slave mode in mplayer under mingw.
It uses windows console functions to read commands, but
the main reason for the slave mode is to control it from
an external program. Console functions don't work with
redirected input/output.
Unfortunately windows does not have a non-blocking select
for file descriptors (at least I don't know any), so a
workaround needed to port a decent getch2 routine instead
mp_input_win32_slave_cmd_func in osdep/getch2_win.c
If anyone knows a solution please share with me.
(cygwin version works well, it emulates unix select and
file descriptors at low level)

Bye
Deje




More information about the MPlayer-cygwin mailing list