[MPlayer-dev-eng] [PATCH] enable dll codec support for mingw32andcygwin
Sascha Sommer
saschasommer at freenet.de
Wed Apr 30 12:09:27 CEST 2003
> Sascha Sommer writes:
> > > Sascha Sommer wrote:
> > > > realcodec.patch: fixes some problems with real dlls on Windows
> > >
> > > Does this actually work for you? How?
> >
> > Make a subdir called codecs/ into the dir where your mplayer.exe is
> > and copy the real dlls into it. It will also search other acm dshow and
vfw
> > codecs there.
> > I know this is not the best solution but real dlls are normally in
> > Gemeinsame Dateien\Real\Codecs\ or Common Files\Real\codecs ?
> > No way to find out their location runtime without too much bloat.
>
> Hmm, I don't think we should rely on working installations of QT/Real
> etc but use our own codecs as usual. This is especially true for
> Cygwin. There we have a Unix environment and I expect to configure my
> applications just like on any other Unix system. I believe it would
> be best if we could make /usr/lib/win32/ work as usual under Cygwin.
> For MinGW the situation is slightly different as we create a real
> Windows application. <path_to_mplayer>\codecs does not sound bad in
> this case.
>
Agreed, but on the other hand if they are there, why should we duplicate
hundreds of codecs? I got a message from rune today which says that we
can get the Common Files dir with the $COMMONPROGRAMFILES
environment variable. I had no time to check this yet, but maybe we could
let
configure search for real codecs in this path?
Sascha
More information about the MPlayer-dev-eng
mailing list