[MPlayer-users] MPlayer hangs in slave mode on Windows

Anton Sviridenko anton at corp.bluecherry.net
Sat Dec 13 23:26:56 CET 2014


>
> Are you using the gl VO by any chance?
>

No, it used directx by default

>> I you use slave mode you must connect stdin to a proper file/pipe where read, select etc. works in the expected way.
>> In the normal command-line stdin is connect to a console which is a horrible and crazy construct that behaves in no sane way, so all kinds of strange effects happen (since -slave disables the workarounds we use to read keyboard input from it).
>
> select() works only on sockets on windows.
>
> I'm pretty sure most slavemode hosts just use some form of pipe that
> can't be selected and on which even overlapped IO is not possible.

I think there should be something in WinAPI that can replace select() :)


More information about the MPlayer-users mailing list