Technical Q&A QA1538

Multithreaded usage of the QCRenderer

Q:  My application uses the QCRenderer to render Quartz Compositions on multiple threads. Is there anything I should know in order to ensure correct operation?

A: My application uses the QCRenderer to render Quartz Compositions on multiple threads. Is there anything I should know in order to ensure correct operation?

When using the QCRenderer in a multithreaded application, you should always ensure that any renderers you create are also used on the same thread that they are created on. If you fail to do so, then you will find that some content (such as Quicktime Movies) may not render correctly or at all, and you will find that your application's memory usage will increase slowly for each QCRenderer you create and use on different threads.



Document Revision History


DateNotes
2008-09-08

New document that describes an issue that may arise when using the QCRenderer in a multi-threaded application.