From 1494fa640f5cc6574b67b0213c026db2ec1cff4c Mon Sep 17 00:00:00 2001 From: Kieran Bingham Date: Mon, 23 Aug 2021 15:37:31 +0100 Subject: 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 Reviewed-by: Paul Elder Reviewed-by: Laurent Pinchart Signed-off-by: Kieran Bingham --- simple-cam.cpp | 7 ++++--- 1 file 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); -- cgit v1.2.1