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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user