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

Joey Parrish joey at nicewarrior.org
Sun Aug 10 20:22:06 CEST 2003


On Sat, Aug 09, 2003 at 08:11:21PM +0200, Sascha Sommer wrote:
> What about the attached patch?
> Like on linux real dlls only get loaded from WIN32_PATH.

I don't understand... real dlls get loaded from REALCODEC_PATH on
linux by hardcoding the path into the dll.  What does WIN32_PATH have to
do with it?  Besides, to be portable, we have to consider the case where
real dlls and qt/win32 dlls are not stored in the same place.  What if I
encode a video with some qt video and sipr audio?  I would have to put
both in the path, or I would have to set the path before each
LoadLibrary call.  Of course, none of us would ever create such a video,
but I don't want to introduce code that has the potential to work now
and not work later.

Would it be best to set the path to include all the various codec paths
at the beginning of mplayer execution, or create a RegisterCodecPath()
function to be called by each decoder as needed?

--Joey



More information about the MPlayer-dev-eng mailing list