[libcamera-devel] [PATCH 1/2] libcamera: formats: fix warning print
Tomi Valkeinen
tomi.valkeinen at ideasonboard.com
Wed May 18 14:20:13 CEST 2022
Remove extra "0x" from the print.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen at ideasonboard.com>
---
src/libcamera/formats.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libcamera/formats.cpp b/src/libcamera/formats.cpp
index afcaabc5..3e60ec7d 100644
--- a/src/libcamera/formats.cpp
+++ b/src/libcamera/formats.cpp
@@ -926,7 +926,7 @@ const PixelFormatInfo &PixelFormatInfo::info(const PixelFormat &format)
const auto iter = pixelFormatInfo.find(format);
if (iter == pixelFormatInfo.end()) {
LOG(Formats, Warning)
- << "Unsupported pixel format 0x"
+ << "Unsupported pixel format "
<< utils::hex(format.fourcc());
return pixelFormatInfoInvalid;
}
--
2.34.1
More information about the libcamera-devel
mailing list