[MPlayer-cygwin] [PATCH] Activating OSD Menu for MinGW

Sycotic Smith sycotic at linuxmail.org
Fri Aug 29 02:33:02 CEST 2003


From: Diego Biurrun <diego at biurrun.de>
> Yes, compilation works fine now.  The menu does not work, however:
> 
> $ ./mplayer.exe -v -menu ../../samples/Mastercard.asf
> [...]
> Reading config file 
> /c/programme/cygwin/home/Administrator/.mplayer/mplayer.conf: No such 
> file or directory
> Reading config file C:/Programme/msys/1.0/home/Administrator/mplayer/config
> Reading C:/Programme/msys/1.0/home/Administrator/mplayer/codecs.conf: 
> Can't open 
> 'C:/Programme/msys/1.0/home/Administrator/mplayer/codecs.conf': No such 
> file or directory
> Reading /c/programme/cygwin/home/Administrator/.mplayer/codecs.conf: 
> Can't open 
> '/c/programme/cygwin/home/Administrator/.mplayer/codecs.conf': No such 
> file or directory
> Using built-in default codecs.conf
> CommandLine: '-v' '-menu' '../../samples/Mastercard.asf'
> get_path('font/font.desc') -> 
> 'C:/Programme/msys/1.0/home/Administrator/mplayer/font/font.desc'
> font: can't open file: 
> C:/Programme/msys/1.0/home/Administrator/mplayer/font/font.desc
> font: can't open file: 
> /c/programme/cygwin/home/Administrator/.mplayer/font/font.desc
> Using MMX (with tiny bit 3DNow) Optimized OnScreenDisplay
> Using usleep() timing
> get_path('input.conf') -> 
> 'C:/Programme/msys/1.0/home/Administrator/mplayer/input.conf'
> Parsing input config file 
> C:/Programme/msys/1.0/home/Administrator/mplayer/input.conf
> Input config file 
> C:/Programme/msys/1.0/home/Administrator/mplayer/input.conf parsed: 53 binds
> get_path('menu.conf') -> 
> 'C:/Programme/msys/1.0/home/Administrator/mplayer/menu.conf'
> Menu init failed
> 

Have you tried with --disable-3dnow and/or --disable-mmx to ./configure?  I have no problems using the OSD menu on cygwin on my NT4 machine here, and it has no 3dnow support.

> > +#ifndef __MINGW32__
> >  #include <sys/wait.h>
> > +#else
> > +#define	WNOHANG	1
> > +#endif
> > +
> >  #include <unistd.h>
> >  #include <errno.h>
> 
> Hmm, if we only need that single define, I think we don't need to 
> include all of wait.h if it causes portability problems, so I suggest
> 
> -#include <sys/wait.h>
> +#define	WNOHANG	1
> 
> Diego

Agreed.

/S. Smith
-- 
______________________________________________
http://www.linuxmail.org/
Now with e-mail forwarding for only US$5.95/yr

Powered by Outblaze



More information about the MPlayer-cygwin mailing list