summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libcamera/pipeline/rpi/common/pipeline_base.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libcamera/pipeline/rpi/common/pipeline_base.cpp b/src/libcamera/pipeline/rpi/common/pipeline_base.cpp
index ba1797bc..3bb5ec53 100644
--- a/src/libcamera/pipeline/rpi/common/pipeline_base.cpp
+++ b/src/libcamera/pipeline/rpi/common/pipeline_base.cpp
@@ -888,16 +888,16 @@ int PipelineHandlerBase::registerCamera(std::unique_ptr<RPi::CameraData> &camera
}
data->nativeBayerOrder_ = bayerFormat.order;
+ ret = platformRegister(cameraData, frontend, backend);
+ if (ret)
+ return ret;
+
ret = data->loadPipelineConfiguration();
if (ret) {
LOG(RPI, Error) << "Unable to load pipeline configuration";
return ret;
}
- ret = platformRegister(cameraData, frontend, backend);
- if (ret)
- return ret;
-
/* Setup the general IPA signal handlers. */
data->frontendDevice()->dequeueTimeout.connect(data, &RPi::CameraData::cameraTimeout);
data->frontendDevice()->frameStart.connect(data, &RPi::CameraData::frameStarted);