qcam: Show string representation of pixel format
The raw pixel format in form of the fourcc integer is not easily readable. Use the string representation instead for easier debugging. Signed-off-by: Christian Rauch <Rauch.Christian@gmx.de> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
e1c960ba5f
commit
e1b81401ca
1 changed files with 2 additions and 1 deletions
|
@ -71,7 +71,8 @@ int ViewFinderQt::setFormat(const libcamera::PixelFormat &format, const QSize &s
|
|||
|
||||
image_ = QImage(size, QImage::Format_RGB32);
|
||||
|
||||
qInfo() << "Using software format conversion from" << format;
|
||||
qInfo() << "Using software format conversion from"
|
||||
<< format.toString().c_str();
|
||||
} else {
|
||||
qInfo() << "Zero-copy enabled";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue