[libcamera-devel] [PATCH] ipa: raspberrypi: Fix typo and improve wording

Sebastian Fricke sebastian.fricke at posteo.net
Sun Mar 28 19:03:03 CEST 2021


s/Return the validated limits out though metadata./
  Return the validated limits via metadata./

Signed-off-by: Sebastian Fricke <sebastian.fricke at posteo.net>
---
It is probably debatable, if we should remove that comment completely,
as the code is quite self explanatory. But it might help.
---
 src/ipa/raspberrypi/raspberrypi.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ipa/raspberrypi/raspberrypi.cpp b/src/ipa/raspberrypi/raspberrypi.cpp
index ed2d9a54..dad6395f 100644
--- a/src/ipa/raspberrypi/raspberrypi.cpp
+++ b/src/ipa/raspberrypi/raspberrypi.cpp
@@ -1066,7 +1066,7 @@ void IPARPi::applyFrameDurations(double minFrameDuration, double maxFrameDuratio
 				       minSensorFrameDuration, maxSensorFrameDuration);
 	maxFrameDuration_ = std::max(maxFrameDuration_, minFrameDuration_);
 
-	/* Return the validated limits out though metadata. */
+	/* Return the validated limits via metadata. */
 	libcameraMetadata_.set(controls::FrameDurations,
 			       { static_cast<int64_t>(minFrameDuration_),
 				 static_cast<int64_t>(maxFrameDuration_) });
-- 
2.25.1



More information about the libcamera-devel mailing list