Your best bet would be to connect the output of the Video Input patch
to an Input Splitter whose type is boolean. If the sequence grabber
initialization fails, it will output nil images which are typecast to
false over the Input Splitter. Publish the output of the splitter and
use -valueForOutputKey in your code.
This call loads my .qtz video composition, and all works well
unless the iSight camera is munged. Then, it issues the "Sequence
grabber initialization failed" error message to the console. My app
doesn't seem to know the difference. In either case, it appears
that a healthy QCRenderer object is returned.
So how can my app tell if the .qtz video composition actually was
able to connect to the camera?
Is there some way I can trap this error in my QC/Cocoa video app,
so I can put up an alert panel to the user? I don't see what QC
component/call is issuing it. Is there a corresponding
notification issued that I could listen for?
Roland
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list (Quartzcomposer-
email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/tkoelling%
40apple.com