[libcamera-devel] [PATCH v1] pipeline: raspberrypi: Demote the category of a logging message
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Mon Jan 10 15:13:41 CET 2022
Hi Naush,
Thank you for the patch.
On Mon, Jan 10, 2022 at 10:23:42AM +0000, Naushir Patuck wrote:
> Switch the "no buffers available" log message from Info to Debug so that it does
> not get output by default.
>
> Signed-off-by: Naushir Patuck <naush at raspberrypi.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> ---
> src/libcamera/pipeline/raspberrypi/rpi_stream.cpp | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/libcamera/pipeline/raspberrypi/rpi_stream.cpp b/src/libcamera/pipeline/raspberrypi/rpi_stream.cpp
> index bab80d25ad1a..a4159e20b068 100644
> --- a/src/libcamera/pipeline/raspberrypi/rpi_stream.cpp
> +++ b/src/libcamera/pipeline/raspberrypi/rpi_stream.cpp
> @@ -130,8 +130,8 @@ int Stream::queueBuffer(FrameBuffer *buffer)
> */
> if (!buffer) {
> if (availableBuffers_.empty()) {
> - LOG(RPISTREAM, Info) << "No buffers available for "
> - << name_;
> + LOG(RPISTREAM, Debug) << "No buffers available for "
> + << name_;
> /*
> * Note that we need to queue an internal buffer as soon
> * as one becomes available.
--
Regards,
Laurent Pinchart
More information about the libcamera-devel
mailing list