Camera->GetFrame(), GetLatestFrame(), and frame queues

kb_kat
Posts: 6
Joined: Sun May 22, 2011 1:30 am

Re: Camera->GetFrame(), GetLatestFrame(), and frame queues

Post by kb_kat »

The function SendEmptyFrames(false) called once before starting the camera does have an effect: at least the algorithm leaves the above "while" loop now. However, the application seems to slow down and i do not have responses from the cameras regularily (i use 2 cameras, making shots in turn).
kb_kat
Posts: 6
Joined: Sun May 22, 2011 1:30 am

Re: Camera->GetFrame(), GetLatestFrame(), and frame queues

Post by kb_kat »

Ok, i found the error:
while(!frame) { frame = camera_01->GetLatestFrame(); }
here the frame must be released every time in the loop
Post Reply