summaryrefslogtreecommitdiff
path: root/src/android/camera_request.cpp
diff options
context:
space:
mode:
authorNĂ­colas F. R. A. Prado <nfraprado@collabora.com>2022-12-28 16:30:02 -0600
committerJacopo Mondi <jacopo.mondi@ideasonboard.com>2024-03-20 11:11:57 +0100
commit3e93337996121e918a2c589803975ee134aba146 (patch)
tree083303851cd2604e6a96b37d2390817803b482fc /src/android/camera_request.cpp
parent8106b6671f95791f4139478151baa2a34a2c7b55 (diff)
apps: lc-compliance: Check that requests complete successfully
When a request fails to queue it is completed but with its status set to RequestCancelled. Add a check in the requestComplete callback to make sure that the request was completed successfully. For the SimpleCaptureUnbalanced test we need to do this check only if the capture isn't over yet, otherwise the few extra requests that get cancelled at the end, which is the normal behavior, will make the test fail. Signed-off-by: NĂ­colas F. R. A. Prado <nfraprado@collabora.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Diffstat (limited to 'src/android/camera_request.cpp')
0 files changed, 0 insertions, 0 deletions