Hi,
I'm trying to implement a more "elastic" way of setting controls while in video mode.
What I would like to do is to stop video capture before setting a control, and restart it after, this way if the exposure is relatively high (> 1sec) the user doesn't have to wait for the exposure to be finished to have the new controls in place; instead the previous exposure gets aborted, and a new one starts.
I call ASIStopVideoCapture from the main thread. The video gets stopped, but the ASIGetVideoData call in the imaging thread is still waiting for a frame, so it hangs indefinitely (or until the timeout milliseconds specified in the call expire).
What I would expect instead, is that ASIGetVideoData should return an error if ASIStopVideoCapture was called while shooting.
Do you think this could be a desired behaviour? And is it possible to implement it in your SDK?
Thanks
Marco