[MPlayer-dev-eng] [PATCH] load dlls always from WIN32_PATH
Diego Biurrun
diego at biurrun.de
Tue May 27 09:27:43 CEST 2003
Sascha Sommer writes:
> > 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
> > etc/codecs.conf
> >
> > *** 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
> worked)
> It is also necessary to have the *.qtx files in windows/system, just like
> any dll that gets loaded from the dlls itself.
I have the QT DLLs in /usr/lib/codecs/ _and_ in C:\Winnt\system32\.
Diego
More information about the MPlayer-dev-eng
mailing list