Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: QTKit and DisplayLink



Hi Fabrice,

The problem is the following : I can't find a decent thread architecture to make it work.
I followed the QTKit FAQ and load my movies in the main thread (performSelectorOnMainThread)
Then I detach them and re attach them in a thread that does basic things : start/stop for the moment
I call in the thread :
if ([nextChannelMovie respondsToSelector:@selector(setIdling:)])
[nextChannelMovie setIdling:NO];
because the QTKit FAQ recommends this
But if I do it, just the first frames of the movies are rendered. Then it blocks.
If I don't, the app crashes after some seconds on QTKit idle management (which is done in the main thread)


Please note that I removed any MoviesTask call from a timer in the main thread because I found that in the QTQuartzPlayer example that calling QTVisualContextTask(qtVisualContext); after [_openGLContext flushBuffer]; seemed to be enough

Can someone help me finding how to do that idle management correctly?

You would need to send that question to one of the QT lists on apple.com, I'm not aware of QT experts on this list.



________________________________________________________ Pierre-Olivier Latour email@hidden Quartz Composer Team Apple Computer, Inc.



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden

This email sent to email@hidden
References: 
 >QTKit and DisplayLink (From: Fabrice Pipart <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.