[MPlayer-dev-eng] [PATCH] load dlls always from WIN32_PATH
saschasommer at freenet.de
Tue May 27 08:07:24 CEST 2003
> Sascha Sommer wrote:
> > This patch changes the remaining LoadLibrarys() to load
> > dlls from WIN32_PATH.
> > While this was already the case for acm and vfw codecs it wasn't for
> > quicktime, dshow and dmo codecs.
> > I hope that this won't break anything for Linux.
> It breaks Cygwin for me, though:
> Opening audio decoder: [qtaudio] QuickTime Audio Decoder
> win32 libquicktime loader (c) Sascha Sommer
> failed loading dll
> ADecoder preinit failed :(
> ADecoder init failed :(
> get_path('codecs.conf') -> '/home/Administrator/.mplayer/codecs.conf'
> *** Try to upgrade /home/Administrator/.mplayer/codecs.conf from
> *** If it still does not work, read DOCS/codecs.html!
> Cannot find codec for audio format 0x324D4451.
> Trying to force video codec driver family qtvideo ...
> Opening video decoder: [qtvideo] Quicktime Video decoder
> invalid qt DLL!
> VDecoder init failed :(
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> INFO: libavcodec init OK!
> Selected video codec: [ffsvq3] vfm:ffmpeg (FFmpeg SVQ3)
> After the changes to ad_qtaudio.c and vd_qtvideo.c my QT DLLs fail to
> load. It works without the patch.
Yes, QTMLClient.dll has to be in in your codecs path.
Btw. did it load any codecs from there before? (not real, they should have
It is also necessary to have the *.qtx files in windows/system, just like
any dll that gets loaded from the dlls itself.
More information about the MPlayer-dev-eng