summaryrefslogtreecommitdiff
path: root/src/cam/kms_sink.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cam/kms_sink.cpp')
-rw-r--r--src/cam/kms_sink.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cam/kms_sink.cpp b/src/cam/kms_sink.cpp
index da579846..29be5623 100644
--- a/src/cam/kms_sink.cpp
+++ b/src/cam/kms_sink.cpp
@@ -119,9 +119,7 @@ int KMSSink::configure(const libcamera::CameraConfiguration &config)
mode.vdisplay == cfg.size.height;
});
if (iter == modes.end()) {
- std::cerr
- << "No mode matching " << cfg.size.toString()
- << std::endl;
+ std::cerr << "No mode matching " << cfg.size << std::endl;
return -EINVAL;
}