Trigger texture update on each submission of input buffer.
When input queue is full (which will happen if there are no capture requests coming from the camera client), it blocks until there's buffer freed up. This is not desired (for example, it causes video decoder attached to the virtual camera surface to drop frames), and causes that the subsequent capture request received by camera won't get the most recent image from the virtual camera owner. This cl fixes this behavior, by consuming the buffer from the input queue immediatelly after it's submitted. Bug: 344572859 Test: atest VirtualCameraCaptureTest Change-Id: Ic7556921630d56f73bbd861d35c5218351217ee6
Loading
Please register or sign in to comment