This adds setOneShotPreviewCallback to get single frame from preview. It is different fro$
1) It only returns one frame and removes callback after
2) It produces frame that has no tearing, unlike the ones from frame processor where move$
Im not sure whether it belongs in another routine or if the runBlocking is needed at all.
I quickly did it like focusRoutine and it works for me, feedback is welcome.
This adds setOneShotPreviewCallback to get single frame from preview. It is different fro$ 1) It only returns one frame and removes callback after 2) It produces frame that has no tearing, unlike the ones from frame processor where move$
Im not sure whether it belongs in another routine or if the runBlocking is needed at all. I quickly did it like focusRoutine and it works for me, feedback is welcome.
Issue: https://github.com/Fotoapparat/Fotoapparat/issues/200