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: QTMovie frameImageAtTime in NSThread Problem




On Aug 8, 2005, at 12:08 PM, David Garcea wrote:

I'm trying to load information from a number of video files in an
NSThread, using the following code.

[SNIP]

QTMovie *theMovie = [QTMovie movieWithURL:theFileURL error:&theError];

In general, you need to create *all* QTMovie objects on the main thread. You should then be able to migrate them to a background thread (using the APIs DetachMovieFromCurrentThread and AttachMovieToCurrentThread) and operate on them there. There is a Tech Note on QuickTime thread safety you should take a look at.


However, we have recently uncovered some issues when working with QTMovie objects on a background thread, even when doing things the "right way". We are hoping to provide a more thread-safe QTKit soon.


Tim Monroe QuickTime Engineering email@hidden

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

This email sent to 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.