WG: [MPlayer-cygwin] Qtx support under Windows?

Gianluigi Tiesi mplayer at netfarm.it
Fri Jan 14 22:02:53 CET 2005


On Fri, Jan 14, 2005 at 09:25:03PM +0100, Reimar D?ffinger wrote:
> Hi,
> On Fri, Jan 14, 2005 at 09:12:14PM +0100, Gianluigi Tiesi wrote:
> > On Fri, Jan 14, 2005 at 12:47:17PM +0100, Diego Biurrun wrote:
> > > Gianluigi Tiesi writes:
> > > > On Fri, Jan 14, 2005 at 01:01:49AM +0100, Diego Biurrun wrote:
> > > > > Gianluigi Tiesi writes:
> > > > > > On Wed, Jan 12, 2005 at 08:43:09PM -0600, Joey Parrish wrote:
> > > > > > > On Thu, Jan 13, 2005 at 03:29:13AM +0100, Gianluigi Tiesi wrote:
> > > > > > > > @win32 developers:
> > > > > > > > There is a way to avoid Quicktime.qts in system32? Does a preload with
> > > > > > > > LoadLibrary will work?
> > > > > > > 
> > > > > > > As far as I can tell, the path to Quicktime.qts is hardcoded into the
> > > > > > > other Quicktime DLLs.  So you never load it with LoadLibrary at all.
> > > > > 
> > > > > Would it be possible to patch the DLLs then?
> > > > It's not a good idea, is not version independant.
> > > 
> > > Version of what?  We distribute the QT DLLs, so we can patch them to
> > > our hearts content..
> > > 
> > qtmlClient.dll does a reg query to:
> > "HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\QuickTime.qts folder"
> > 
> > to pick QuickTime.qts directory, anyway the preload trick did worked for
> > me, on windows xp, here the patch, this is only for qtaudio but other
> > qtstuff can be patched same way. Please test it on other systems.
> > 
> > I can provide a full complete patch but the only quicktime movies I have
> > need only qtaudio from dll, tell me links of other samples.
> 
> Simply use -vfm qtvideo
> 
> 
> > @@ -268,6 +275,8 @@
> >  //    error = TerminateQTML();
> >  //    printf("TerminateQTML:%i\n",error);
> >  //    FreeLibrary( qtml_dll );
> > +//    qtime_qts = NULL;
> > +//    FreeLibrary( qtime_qts );
> 
> Even if it's commented out, please put it in the right order ;-)
ops... btw why this code is commented out?

I've just tried on linux, there are not side effects.
Other files are coded in a different style, var name is handler...
should I use same var names of qtaudio?

Bye
-- 
Gianluigi Tiesi <sherpya at netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/




More information about the MPlayer-cygwin mailing list