Hello Nisar, I am not sure why QTMovie whats to be initialized on the main thread, but did you try to put your init code in a certain method and call it with "performSelectorOnMainThread"?
Btw: If you create a movie on the main thread, you should use "detachFromCurrentThread" and "attachToCurrentThread" to "move" the movie from the main thread to the secondary thread. Achim Breidenbach Boinx Software On 24.10.2011, at 12:45, Nisar Ahmed wrote: > Dear List, > > I have developed a plugin that handles interlaced movies properly. The plugin > works great with QCRenderer main thread but throws exception on secondary > thread > > Terminating app due to uncaught exception 'QTMovieInitializedOnWrongThread', > reason: 'QTMovie_QuickTime class must be initialized on the main thread.' > > I have also tried calling [QTMovie enterQTKITOnThread]/[QTMovie > exitQTKitOnThread] and EnterMoviesOnThread(0)/ExitMoviesOnThread() pair but > didn't help. > > I have build both the plugin and application in 32bit mode. > > Please help > > Thanks > Nisar > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Quartzcomposer-dev mailing list (Quartzcomposer-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/quartzcomposer-dev/achim%40boinx.com > > This email sent to ac...@boinx.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Quartzcomposer-dev mailing list (Quartzcomposer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com