[MPlayer-dev-eng] Re: [PATCH] win32 codec path
albeu at free.fr
Mon Aug 11 20:21:17 CEST 2003
Hi Joey Parrish,
on Mon, 11 Aug 2003 13:01:47 -0500 you wrote:
Last week i tried to build mplayer on MinGW by a friend. As i run into
some problem with the real codecs and got them to work i join the
> On Mon, Aug 11, 2003 at 01:20:52AM +0200, Diego Biurrun wrote:
> > MinGW does not work also, tmppath gets set to
> > c:\Programme\cygwin\home\diego\mingw\/mingw/lib/codecs
> > which obviously cannot work. When I recompile with
> > --with-codecsdir=codecs, Windows starts complaining about pncrt.dll.
> > I got the DLL and put it in the codecs directory and lo and behold, it
> > works!
> What does pncrt.dll do? What codec set is it a part of?
> Can we start including it in the downloadable codec packs on mphq?
Dunno, on my friends computer i found it in the sockwave directory :)
It's needed to get real working on windows.
> > And with pncrt.dll it also works under Cygwin. Oh happy day.
> > So now all we need to do is fix the absolute path on MinGW..
> Try --with-codecsdir=codecs as a relative path with respect to the
> location of the executable. Otherwise, use a full path, such as
> I believe that's the purpose of that piece of code Sascha wrote
> ifndef CYGWIN. If a ':' is found in the path name, it's treated as a
> full absolute path, otherwise it's treated as a relative path to the
> executable. Is that correct?
However I needed to do the follwing change (see attached patch) to
get the correct path. The patch is not tested at all, it's just what
i remember. I used --configure --with-codecsdir=./codecs --prefix=.
--bindir=. --datadir=. --mandir=. --confdir=. --libdir=.
It then gave me a working "windows style" binary :)
BTW i didn't tried but does freetype work on mingw ?
Everything is controlled by a small evil group
to which, unfortunately, no one we know belongs.
More information about the MPlayer-dev-eng