Hi,

as i remember, the QCComposition object is autoreleased, for be sure, check
the QCComposition's documentation. It's not the answer for your question i
know, but FYI :)



2010/3/1 Joshua Strickon <[email protected]>

> I have an nsview for which I programmatically swap out quartz compositions.
>  I do this by recreating a new QCRenderer.  I have using the V002 movie
> player plugin as I had terrible results with the current Apple quartz movie
> player patch, it could be related to this problem.  After a bunch of
> switches, I have noticed that the thread count going up in sync, to the
> point of instability.  Upon further investigation it appears that the plugin
> disableExecution  or stopExecution functions are not getting called.  When
> should these get called?  Shouldn't these get called when I recreated the
> QCRenderer with a new composition?
>
> I currently have an array of compositions that I keep from querying the
> repository.  I then reference the array by a number that is passed to the
> code that swaps the compositions.  I simply create the new renderer and pass
> in the composition and the relative view pieces.  Seems like the composition
> is not getting cleaned up when it is no longer being rendered.  Is it
> possible because my array is retaining the composition?  How do I tell the
> composition to that is is no longer being used?
>
> Any ideas?
>
> Here are the swap functions.
>
>
> Thanks
>
> Josh
> [_renderer release];
> _renderer = [[QCRenderer alloc] initWithCGLContext:(CGLContextObj)[[qcView
> openGLContext] CGLContextObj]
>    pixelFormat:(CGLPixelFormatObj)[[qcView  pixelFormat] CGLPixelFormatObj
> ]
> colorSpace:CGDisplayCopyColorSpace(kCGDirectMainDisplay)
>    composition:[compositions objectAtIndex:comp]];
>
>  _______________________________________________
> 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/tamas.lov.nagy%40gmail.com
>
> This email sent to [email protected]
>
 _______________________________________________
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