A quick note to say great to see you doing this.

I own a DFG1394 and have used it with QC, but the experience is not without pain using the standard video input patch: from memory, opening the composition without the DFG there (or then reopening when it is) causes rendering of the comp to fail, and you have to delete, save, reload and re-add the video input patch to resurrect things. It would be great to see a native patch.

Toby

On 21 Oct 2009, at 01:44, Milton Aupperle wrote:

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/lists%40tobyz.net

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