On Jun 26, 2008, at 6:35 AM, Jan E. Schotsman wrote:
Hello,
Suppose I have a movie and reference to one of its tracks.
If I move the movie to another thread, does the track reference
remain valid?
Jan E.
Yes. The migration operations take the Movie and its constituent parts
(Tracks, Media, DataHandlers, etc.) and (1) first ensures everything
can be moved off the current thread, (2) detaches when everyone votes
yes (It's a 2-phase commit kind of thing), and (3) attaches everything
to the main thread. DetachMovieFromCurrentThread() does (1) and (2).
AttachMovieToCurrentThread() does (3).
With that said, of course, you shouldn't reference the Track from any
thread other than the one to which it is attached.
-- Chris
_______________________________________________
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