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

Paul Elder paul.elder at ideasonboard.com
Thu Feb 20 09:47:58 CET 2025


On Fri, Dec 20, 2024 at 05:26:48PM +0100, Stefan Klug wrote:
> 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>

Reviewed-by: Paul Elder <paul.elder 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