summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYin-Chia Yeh <yinchiayeh@google.com>2019-02-08 14:57:30 -0800
committerYin-Chia Yeh <yinchiayeh@google.com>2019-02-08 14:57:30 -0800
commitace57bad57b8a1013ef99377ad2aeb992fc752a2 (patch)
tree55b5be3d904eda4b9e5573beb8fd7cb16dcfc656
parentf43b544c0e407234643304c7bfdf658333e3dfc5 (diff)
downloadlibhardware-ace57bad57b8a1013ef99377ad2aeb992fc752a2.tar.gz
Camera: clarify unknown error logic in buffer request
Test: N/A. doc update Bug: 120986771 Change-Id: Ibf4ac8c4618f06f7075ff762f8e1461211cdea7b
-rw-r--r--include/hardware/camera3.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/hardware/camera3.h b/include/hardware/camera3.h
index 03db10cd..90d70df2 100644
--- a/include/hardware/camera3.h
+++ b/include/hardware/camera3.h
@@ -2200,7 +2200,9 @@ typedef enum camera3_buffer_request_status {
/**
* request_stream_buffers() call failed for all streams and no buffers are
- * returned at all due to unknown reason.
+ * returned at all. This can happen for unknown reasons or a combination
+ * of different failure reasons per stream. For the latter case, caller can
+ * check per stream failure reason returned in camera3_stream_buffer_ret.
*/
CAMERA3_BUF_REQ_FAILED_UNKNOWN = 4,