Don't wait indefinitely for camera frames.
There are multiple reasons why camera frame delivery can stop, the most obvious of which is a buggy camera HAL. In order to not block indefinitely in case that happens, use a timeout when waiting for frames and propagate error if timeout occurs. Change-Id: I5e462b88300cce00cecdef0406064aab1b0b8780
Loading
Please register or sign in to comment