summaryrefslogtreecommitdiff
path: root/src/cam
diff options
context:
space:
mode:
Diffstat (limited to 'src/cam')
-rw-r--r--src/cam/camera_session.cpp2
-rw-r--r--src/cam/kms_sink.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cam/camera_session.cpp b/src/cam/camera_session.cpp
index bacb4256..efffafbf 100644
--- a/src/cam/camera_session.cpp
+++ b/src/cam/camera_session.cpp
@@ -145,7 +145,7 @@ void CameraSession::infoConfiguration() const
const StreamFormats &formats = cfg.formats();
for (PixelFormat pixelformat : formats.pixelformats()) {
std::cout << " * Pixelformat: "
- << pixelformat.toString() << " "
+ << pixelformat << " "
<< formats.range(pixelformat).toString()
<< std::endl;
diff --git a/src/cam/kms_sink.cpp b/src/cam/kms_sink.cpp
index 29be5623..7add81a6 100644
--- a/src/cam/kms_sink.cpp
+++ b/src/cam/kms_sink.cpp
@@ -194,7 +194,7 @@ int KMSSink::configurePipeline(const libcamera::PixelFormat &format)
if (ret) {
std::cerr
<< "Unable to find display pipeline for format "
- << format.toString() << std::endl;
+ << format << std::endl;
return ret;
}