diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2021-08-23 15:34:35 +0100 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2021-08-25 21:39:26 +0100 |
commit | c7980899237ea2b0f7dd9fa6fc2897f60adc840e (patch) | |
tree | 919577128cb607306f1afdf763e9c7273f339cbb | |
parent | 83a9aa8ccb766b6b73b87a1b29455a9681cc6d97 (diff) |
simple-cam: Improve documentation of validate/configure
The validation and configure phase has a couple of grammatical errors.
Fix them and reflow the text accordingly.
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.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/simple-cam.cpp b/simple-cam.cpp index 5c16db6..2e646a5 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()); |