In Argus API iCaptureSession->capture(request) would capture one frame from my camera.
so:
while(1)
{
iCaptureSession->capture(request)
}
would capture infinite frames from my camera.But the while(1) would stop the code then and there and I am not able to render the frames on my window/screen.I tried using threads but the pointer iCaptureSession is not getting updated on tranferring it to a new thread and I am getting a segementation fault.Can you please guide as how to capture infinite frames until force stopped.
Thanks in Advance!