[MPlayer-dev-eng] [PATCH] Colorful output for Windows

Reimar Doeffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Thu Apr 5 09:54:04 CEST 2007


Hello,
On Thu, Apr 05, 2007 at 03:10:19PM +0800, Zuxy Meng wrote:
> 2007/3/28, Reimar Döffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de>:
> >On Wed, Mar 28, 2007 at 10:55:12PM +0800, Zuxy Meng wrote:
> >> Just for fun.
> >
> >This should not really depend on __MINGW32__ #ifdef, since it is both
> >possible to run cygwin builds on the normal windows commandline as well
> >as you can run the mingw version under xterm.
> 
> I doubt if the latter case is supported; we use Windows console APIs
> in osdep/getch2-win.c and are they available under xterm?

No, but that is not too good a reason to add another complication. And
the console API stuff should be fixed to fall back to normal stdin
reading, as the current code also causes problems when using mplayer in
slave mode from a program.

Greetings,
Reimar Doeffinger



More information about the MPlayer-dev-eng mailing list