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.