summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2021-11-04 11:12:37 +0000
committerKieran Bingham <kieran.bingham@ideasonboard.com>2021-11-04 16:17:21 +0000
commit4b8c50bda21aa77fd8ae356dbf4def50add7c184 (patch)
tree924eaf609b4f3dafaf76d0648b3773b266314225
parent06008c6e81e8d62c3ebf45025448a3137b76d394 (diff)
libcamera: framebuffer: Fix isContiguous log message
The isContiguous debug message is inverted. Correct the logic. Reported-by: Roman Stratiienko <roman.o.stratiienko@globallogic.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
-rw-r--r--src/libcamera/framebuffer.cpp2
1 files changed, 1 insertions, 1 deletions
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<Plane> &planes, unsigned int cookie)
}
LOG(Buffer, Debug)
- << "Buffer is " << (isContiguous ? "not " : "") << "contiguous";
+ << "Buffer is " << (isContiguous ? "" : "not ") << "contiguous";
_d()->isContiguous_ = isContiguous;
}