[libcamera-devel] [SimpleCam PATCH 2/4] simple-cam: Improve documentation of validate/configure
Kieran Bingham
kieran.bingham at ideasonboard.com
Tue Aug 24 16:24:48 CEST 2021
The validation and configure phase has a couple of grammatical errors.
Fix them and reflow the text accordingly.
Signed-off-by: Kieran Bingham <kieran.bingham at ideasonboard.com>
---
simple-cam.cpp | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/simple-cam.cpp b/simple-cam.cpp
index 5c16db67700c..2e646a5485c9 100644
--- a/simple-cam.cpp
+++ b/simple-cam.cpp
@@ -255,16 +255,17 @@ int main()
#endif
/*
- * Validating a CameraConfiguration -before- applying it adjust it
- * to a valid configuration as closest as possible to the requested one.
+ * Validating a CameraConfiguration -before- applying it will adjust it
+ * to a valid configuration which is as close as possible to the one
+ * requested.
*/
config->validate();
std::cout << "Validated viewfinder configuration is: "
<< streamConfig.toString() << std::endl;
/*
- * Once we have a validate configuration, we can apply it
- * to the Camera.
+ * Once we have a validated configuration, we can apply it to the
+ * Camera.
*/
camera->configure(config.get());
--
2.30.2
More information about the libcamera-devel
mailing list