summaryrefslogtreecommitdiff
path: root/src/libcamera/pipeline_handler.cpp
diff options
context:
space:
mode:
authorNiklas Söderlund <niklas.soderlund@ragnatech.se>2019-02-26 01:21:22 +0100
committerNiklas Söderlund <niklas.soderlund@ragnatech.se>2019-02-27 17:36:30 +0100
commitacb56ebef833e0189f4d867c144363ef522ba740 (patch)
tree744d20026ba14407f5f9924a8ec380dba957b5c9 /src/libcamera/pipeline_handler.cpp
parent9aceed70a2879802c7fe00ea2c0455ccd5c14f07 (diff)
libcamera: align the documentation for numeric error codes
Rapid growth of the library have resulted in slightly different wording to document that a function returns 0 on success or a negative error code otherwise. Align all different variations. Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/libcamera/pipeline_handler.cpp')
-rw-r--r--src/libcamera/pipeline_handler.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libcamera/pipeline_handler.cpp b/src/libcamera/pipeline_handler.cpp
index dad0a296..c440aa83 100644
--- a/src/libcamera/pipeline_handler.cpp
+++ b/src/libcamera/pipeline_handler.cpp
@@ -144,7 +144,7 @@ PipelineHandler::~PipelineHandler()
* configuration of a subset of the streams can't be satisfied, the
* whole configuration is considered invalid.
*
- * \return 0 on success or a negative error code on error.
+ * \return 0 on success or a negative error code otherwise
*/
/**
@@ -158,7 +158,7 @@ PipelineHandler::~PipelineHandler()
*
* The intended caller of this method is the Camera class.
*
- * \return 0 on success or a negative error code on error
+ * \return 0 on success or a negative error code otherwise
*/
/**
@@ -172,7 +172,7 @@ PipelineHandler::~PipelineHandler()
*
* The intended caller of this method is the Camera class.
*
- * \return 0 on success or a negative error code on error
+ * \return 0 on success or a negative error code otherwise
*/
/**
@@ -185,7 +185,7 @@ PipelineHandler::~PipelineHandler()
* class which will in turn be called from the application to indicate that it
* has configured the streams and is ready to capture.
*
- * \return 0 on success or a negative error code on error
+ * \return 0 on success or a negative error code otherwise
*/
/**
@@ -211,7 +211,7 @@ PipelineHandler::~PipelineHandler()
* parameters will be applied to the frames captured in the buffers provided in
* the request.
*
- * \return 0 on success or a negative error code on error
+ * \return 0 on success or a negative error code otherwise
*/
/**