• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: QTMovie(s) and Threads
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >QTMovie(s) and Threads (From: "Alex Finkel" <email@hidden>)

  • Prev by Date: Re: Running out of process VM
  • Next by Date: NSOpenPanel / trigger and edit fields
  • Previous by thread: QTMovie(s) and Threads
  • Next by thread: Using NSImage to create high res images on disk for use in a webview (that will be printed)
  • Index(es):
    • Date
    • Thread