summaryrefslogtreecommitdiff
path: root/src/libcamera/pipeline/simple/simple.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcamera/pipeline/simple/simple.cpp')
-rw-r--r--src/libcamera/pipeline/simple/simple.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/libcamera/pipeline/simple/simple.cpp b/src/libcamera/pipeline/simple/simple.cpp
index c2498d4e..0bab5af8 100644
--- a/src/libcamera/pipeline/simple/simple.cpp
+++ b/src/libcamera/pipeline/simple/simple.cpp
@@ -269,10 +269,11 @@ int SimpleCameraData::init()
ret = setupFormats(&format, V4L2Subdevice::TryFormat);
if (ret < 0) {
- LOG(SimplePipeline, Error)
- << "Failed to setup pipeline for media bus code "
- << utils::hex(code, 4);
- return ret;
+ LOG(SimplePipeline, Debug)
+ << "Media bus code " << utils::hex(code, 4)
+ << " not supported for this pipeline";
+ /* Try next mbus_code supported by the sensor */
+ continue;
}
V4L2VideoDevice::Formats videoFormats =