Are you making your QTVisualContext shared with the context that the QCPlugin provides? This ensures that the QTvisualContext and your CGLContext are shared, so textures/resources are able to move between contexts quickly.

As for the leak, you need to make sure you call QTVisualContextTask() to service quicktime, or you will see that leak.

Another issue I had with getting QTVisualContext to work well within my app was colorspace conversion. It looks like you are assuming ARGB or BGRA, when you may be getting other formats. You can add hints to your QTVisualContextCreate to add input/output and working color spaces, but thats a nuanced topic, and possible off topic for the QC list. I did see some improvement tuning those values.


On Apr 21, 2009, at 12:37 PM, Fabrice Pipart wrote:

QTVisualContextCopyImageForTime

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to