samalotriviera,
yikes, yeah that doesn’t bode well for the camera drivers. I really hate to lay blame on some other bit of code, bit i am not sure there is much i can do to the BBTouch code to help that :-(
the last ditch effort (if you want to) would be to go into the code and add some old-school debugging: (since breakpoints wont really help since it appears to be an outside driver issue)
in the file CSGCamera.m
there are two methods that deal with the camera startup:
- (id) init
and
- (BOOL)startWithSize:(NSSize)frameSize;
you can go into those methods and
put in a boatload of NSLog(@"sumthin sumtin"); type comments so you can see when the error occurs in the bbtouch timeline
an example: in the start with frame
these two lines:
// Set the channel’s bounds
theErr = SGSetChannelBounds(channel, &boundsRect);
would be changed to look like:
// Set the channel’s bounds
NSLog(@"trying to set channel bounds");
theErr = SGSetChannelBounds(channel, &boundsRect);
NSLog(@"did set channel bounds");
and do that with every call to the sequence grabber in both methods (looks like about a dozen calls or so) and then open up BBTouch and look at the logs, you should be able to tell at which point the driver problem starts.
Anyhow, new drivers would be the best solution. but if you get bored and put in a bunch of logs and send me the results, i can have a look to see if there is possibly (not probable) something i could do.
Cheers!
-panda