[MPlayer-dev-eng] [PATCH] Win32 codec paths in vd_realvid.c
Sascha Sommer
saschasommer at freenet.de
Sun Jun 29 11:11:58 CEST 2003
> 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
>
> > 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.
>
> The only difference was applying the patch..
>
> > 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...
>
> > 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.
>
And when you compile with --with-codecsdir=/x/herearenocodecs
;)
Even if this works the patch should be applied for consistency. Our codecs
dirs should
then be added via the PATH environment variable as Joey proposed.
Joey can you send a patch for this? Please also try the mingw port for you
packages.
If you use zlib from
http://www.neuro.gatech.edu/users/cwilson/cygutils/testing/release/mingw/
a static compile is possible and you get only one .exe what should me much
cleaner imho.
For this you also need the latest available binutils, win32api, etc. and
sys/types.h. See
http://www.mplayerhq.hu/MPlayer/releases/win32-beta/contrib/ for a copy.
Sascha
More information about the MPlayer-dev-eng
mailing list