[MPlayer-cygwin] NOVIRUS [BUG] Slave mode / win32 - FIX

Sascha Sommer saschasommer at freenet.de
Mon Sep 22 12:58:08 CEST 2003


> 
> >Would the attached solution also work for your program?
> 
> It seems to. I avoided doing it that way myself as I assumed it would
> just spin its wheels absorbing time calling
> GetNumberOfConsoleInputEvents constantly. Maybe there is a sleep()
> elsewhere I wasn't aware of..

getch2 uses the same functions, so I guess it is ok

> >Threads should be avoided in mplayers sources.
> 
> I can understand for UN*X portability sake - I wouldn't have thought
> code that is only there (osdep) for WIN32 (MINGW) needed to avoid
> threads??
> 

I commited my version because I think it is cleaner without threads.

Sascha



More information about the MPlayer-cygwin mailing list