[MPlayer-dev-eng] [PATCH] Win32 codec paths in vd_realvid.c
Diego Biurrun
diego at biurrun.de
Sun Jun 29 09:42:18 CEST 2003
Diego Biurrun wrote:
> Sascha Sommer writes:
> > > This makes no difference for me on Linux, but lo and behold it fixes
> > > Real under Cygwin. I am now finally able to watch Real movies under
> > > Windows 2000. Good work!
> >
> > How?
>
> Try without patch --> fail
> apply patch --> success
>
> > Where are your real dlls?
>
> /usr/lib/codecs/ under Cygwin
> C:\Programme\cygwin\lib\codecs\ under Windows
I just noticed that I have another copy of the DLLs at
c:\WINNT\System32
> > Per my understanding no path is passed to LoadLibrary. This would mean
> > that the dlls are in some system dir or registered by some realplayer
> > installation.
> > Can you confirm that it doesn't load the dlls from /usr/local/codecs or some
> > other dir passed to configure?
>
> I compiled with --with-codecsdir=/usr/lib/codecs. Dunno where else it
> should load the DLLs from...
Apparently it loads the DLLs from c:\WINNT\System32. If I remove them
from there, it stops working.
> > If it gets applied loading real dlls from codecs/ on mingw won't be possible
> > anymore ;(
>
> This patch made Real work under MinGW for me, too. It did not work
> before and I used --with-codecsdir=/c/Programme/cygwin/lib/codecs.
OK, so this seems to break specifying a codecs directory. But the
problem for me under Windows 2000 has always been that it never managed
to load those DLLs from the codecs directory in the first place..
Anybody have a clue what's going on here?
Diego
More information about the MPlayer-dev-eng
mailing list