summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2021-08-23 15:37:31 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2021-08-25 21:39:26 +0100
commit1494fa640f5cc6574b67b0213c026db2ec1cff4c (patch)
treea369adf5659fff61491021bdcece2021c5c58556
parenteaf55054b5a160e263e497750e66fea4c41da0df (diff)
simple-cam: Correct the capitalisation of 'libcamera'
Even when used at the beginning of a sentence, the 'libcamera' name always starts with a lower case 'l'. Fix the incorrect usages of the name. While here, fix the spacing between code blocks. Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
-rw-r--r--simple-cam.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/simple-cam.cpp b/simple-cam.cpp
index 735e6bf..a8ac3c8 100644
--- a/simple-cam.cpp
+++ b/simple-cam.cpp
@@ -307,7 +307,7 @@ int main()
* --------------------------------------------------------------------
* Frame Capture
*
- * Libcamera frames capture model is based on the 'Request' concept.
+ * libcamera frames capture model is based on the 'Request' concept.
* For each frame a Request has to be queued to the Camera.
*
* A Request refers to (at least one) Stream for which a Buffer that
@@ -354,7 +354,7 @@ int main()
* --------------------------------------------------------------------
* Signal&Slots
*
- * Libcamera uses a Signal&Slot based system to connect events to
+ * libcamera uses a Signal&Slot based system to connect events to
* callback operations meant to handle them, inspired by the QT graphic
* toolkit.
*
@@ -404,12 +404,13 @@ int main()
int ret = loop.exec();
std::cout << "Capture ran for " << TIMEOUT_SEC << " seconds and "
<< "stopped with exit status: " << ret << std::endl;
+
/*
* --------------------------------------------------------------------
* Clean Up
*
* Stop the Camera, release resources and stop the CameraManager.
- * Libcamera has now released all resources it owned.
+ * libcamera has now released all resources it owned.
*/
camera->stop();
allocator->free(stream);