[MPlayer-dev-eng] [PATCH] Win32 codec paths in vd_realvid.c

Joey Parrish joey at nicewarrior.org
Sun Jun 29 01:22:47 CEST 2003


On Sun, Jun 29, 2003 at 12:46:20AM +0200, Sascha Sommer wrote:
> How?
> Where are your real dlls?
> 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.

Yes, I believe that is correct.  They are searched for in the PATH
environment variable.  In my cygwin packages (which I haven't played
with in ages...) I added the mp codec directory to the PATH.

> Can you confirm that it doesn't load the dlls from /usr/local/codecs or some
> other dir passed to configure?
> If it gets applied loading real dlls from codecs/ on mingw won't be possible
> anymore ;(

I think it'll be fine as long as the specific semantics of LoadLibrary
are understood for the platform.  For example, if what I said above is
wrong on mingw, then change the PATH ifdef cygwin, but not for mingw.
Or add the full path to the filename for mingw but not cygwin.  I've not
tested mingw stuff yet, so I can't say how it'll work.  But I think we
can figure it out without too much fuss.

--Joey



More information about the MPlayer-dev-eng mailing list