[RFC PATCH 2/7] libcamera: delayed_controls: Increase log level for dummy pushes

Stefan Klug stefan.klug at ideasonboard.com
Fri Dec 20 17:26:48 CET 2024


When an automatic no-op is queued a debug message is printed. Change the
debug level to warning, because that situation is actually an indication
of something going seriously out of sync.

Signed-off-by: Stefan Klug <stefan.klug at ideasonboard.com>
---
 src/libcamera/delayed_controls.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libcamera/delayed_controls.cpp b/src/libcamera/delayed_controls.cpp
index 6c82d5058ae8..2f134cbe7fdd 100644
--- a/src/libcamera/delayed_controls.cpp
+++ b/src/libcamera/delayed_controls.cpp
@@ -303,7 +303,7 @@ void DelayedControls::applyControls(uint32_t sequence)
 	writeCount_ = sequence + 1;
 
 	while (writeCount_ > queueCount_) {
-		LOG(DelayedControls, Debug)
+		LOG(DelayedControls, Warning)
 			<< "Queue is empty, auto queue no-op.";
 		push(queueCount_, {});
 	}
-- 
2.43.0



More information about the libcamera-devel mailing list