summaryrefslogtreecommitdiff
path: root/simple-cam.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'simple-cam.cpp')
-rw-r--r--simple-cam.cpp9
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());