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>
This commit is contained in:
Kieran Bingham
2021-11-04 11:12:37 +00:00
parent 06008c6e81
commit 4b8c50bda2

View File

@@ -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;
}