From 4b8c50bda21aa77fd8ae356dbf4def50add7c184 Mon Sep 17 00:00:00 2001 From: Kieran Bingham Date: Thu, 4 Nov 2021 11:12:37 +0000 Subject: libcamera: framebuffer: Fix isContiguous log message The isContiguous debug message is inverted. Correct the logic. Reported-by: Roman Stratiienko Reviewed-by: Jacopo Mondi Reviewed-by: Jean-Michel Hautbois Signed-off-by: Kieran Bingham --- src/libcamera/framebuffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcamera/framebuffer.cpp b/src/libcamera/framebuffer.cpp index d44a98ba..337ea115 100644 --- a/src/libcamera/framebuffer.cpp +++ b/src/libcamera/framebuffer.cpp @@ -247,7 +247,7 @@ FrameBuffer::FrameBuffer(const std::vector &planes, unsigned int cookie) } LOG(Buffer, Debug) - << "Buffer is " << (isContiguous ? "not " : "") << "contiguous"; + << "Buffer is " << (isContiguous ? "" : "not ") << "contiguous"; _d()->isContiguous_ = isContiguous; } -- cgit v1.2.1