[MPlayer-dev-eng] [PATCH] win32 codec path

Arpi arpi at thot.banki.hu
Wed Aug 6 21:55:56 CEST 2003


Hi,

> For real codecs, REALCODEC_PATH was used over and over and sanity
> checked and such, plus I have to convert it to a win32 path on cygwin...
> So now I have moved some of that stuff to a function called
> sanitize_path(), and that is called once on REALCODEC_PATH.  That will
> convert to win32 path under cygwin, make sure a / or \ is appended to
> the path.  Then the full path is used to LoadLibrary for both windows
> and linux.  Thus, no need to set environment variables.

This won't work. Around half of the real codec DLLs loads other real codec
DLLs (half of the dlls are just wrappers around the others).

> This should take into consideration the differences between cygwin,
> mingw, and *nix systems.  Please test.  :)

Btw, where are your cygwin packages availabel for d/l ?

Btw 2, you should send these to mplayer-cygwin list instead


A'rpi / Astral & ESP-team

--
Developer of MPlayer G2, the Movie Framework for all - http://www.MPlayerHQ.hu



More information about the MPlayer-dev-eng mailing list