Re: QTMovie(s) and Threads
Re: QTMovie(s) and Threads
- Subject: Re: QTMovie(s) and Threads
- From: Daniel Jalkut <email@hidden>
- Date: Fri, 14 Apr 2006 13:27:06 -0400
In my last foray into QT exporting, I discovered that thread safety
depends largely on the particular components used to satisfy the
export, and not all of them are thread safe.
So while the QuickTime API may have thread safe parts, you'll always
be at the mercy of a particular component that is not.
This was enough to convince me to outsource my exporting jobs to a
helper tool, which I communicate with via distributed objects. It
can then relate progress information back to you via a distant object
that you provide it.
Maybe somebody else will have less of a cop-out solution, but I think
this is the safest way.
Daniel
On Apr 14, 2006, at 10:58 AM, Alex Finkel wrote:
Hi.
I am seeking an advice on the QTMovie objects exporting on the
background thread.
I have been following the Apple Dev notes and the Tim Monroe's very
good articles in the MacTech magazines. However, my task is different
in a way that I need to export a batch of QTMovies, not just one.
So, the question is how to do it thread-wise? Shall I pass the array
of the QTMovie objects to the background thread, shall I just pass the
individual QTMovie objects to the background thread from the loop on
the main thread, or there is any other way?
And how would the progress bar with the cancel button fit in the
picture.
Thanks,
Alex.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
sweater.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden