Message ID | 20220518122014.54506-1-tomi.valkeinen@ideasonboard.com |
---|---|
State | Accepted |
Headers | show |
Series |
|
Related | show |
Hi Tomi, Thank you for the patch. On Wed, May 18, 2022 at 03:20:13PM +0300, Tomi Valkeinen wrote: > Remove extra "0x" from the print. > > Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@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; > }
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; }
Remove extra "0x" from the print. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> --- src/libcamera/formats.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)