Hi Folks;
I'm a long time (20+ year) Mac developer who is trying to port our
working (since 10.1) QuickTime VDIG FireWire Device driver into a
Quartz Composer Plugin. I've been using the various Plugin examples
from Apple from Leopard (10.5.8) as a starting points.
I have one major stumbling blocks that I can not seem to find any
information and the plugin does it work as expected.
I have a simple ".qtz" composition consisting of our plugin (which has
a single output to an ARGB32/BGRA32 image and no inputs) and this
output is connected to the image input of a billboard object, which
displays the images coming from the hardware.
In the plugin, I have allocated a "- (void) dealloc" method within the
@implementation for the QCPlugin. It's supposed to clean up for the
hardware and deallocate any buffers etc. that were allocated in the "-
(id) init" method of @implementation for the QCPlugin.
When I close the simple ".qtz" composition or Quit the Quartz Composer
(Version 3.1) application, the "- (void) dealloc" method NEVER gets
called, which leaves the hardware unclosed and buffers undisposed of,
which is a huge leak IMHO. I have NSLog statements in the :dealloc"
methods and then never get called at all. So I need to solve this
before I move forward to the next stage.
And doing the dispose in the "- (void) stopExecution:
(id<QCPlugInContext>)context" method of the QCPlugin does not make
sense when using external hardware. If there are multiple hardware
devices and multiple plugins, it should be one plugin per device and
the plugin should exclusively access the hardware for the duration of
it's existence.
Thanks for any suggestions..
Milton J. Aupperle
President
ASC - Aupperle Services and Contracting
Mac Software (Drivers, Components and Application) Specialist
#1106 - 428 Chaparral Ravine View SE.
Calgary Alberta T2X 0N2
1-(403)-453-1624
[email protected]
www.outcastsoft.com
_______________________________________________
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]