Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

QCView and multithreading



Hi,
I am using QC composition in application and need to read output image from "Video Input". When I do it in method that is called by NSTimer everything works fine, but when I try to execute this method from CoreAudio IO proc, program runs for a few seconds and crashes with NBTVSource has exited due to signal 10 (SIGBUS).
Here basically what I am trying to do:

-(void) processVideo
{
    NSAutoreleasePool * thePool = [[NSAutoreleasePool alloc] init];
    NSImage * videoImage = [qcView valueForOutputKey:@"VideoImage"];
    [thePool release];
}

I removed all processing code from the method except of the above and still has the same crash. Of course when I run from timer there is no NSAutoreleasePool alloc or release.

Any help will be greatly appreciated.

Thanks,

Sergei Ludanov
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.