diff options
-rw-r--r-- | src/libcamera/pipeline/vimc/vimc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcamera/pipeline/vimc/vimc.cpp b/src/libcamera/pipeline/vimc/vimc.cpp index 6707c5a0..ccfd7f86 100644 --- a/src/libcamera/pipeline/vimc/vimc.cpp +++ b/src/libcamera/pipeline/vimc/vimc.cpp @@ -394,9 +394,9 @@ bool PipelineHandlerVimc::match(DeviceEnumerator *enumerator) return false; /* Create and register the camera. */ + std::string name{ "VIMC " + data->sensor_->model() }; std::set<Stream *> streams{ &data->stream_ }; - std::shared_ptr<Camera> camera = Camera::create(this, "VIMC Sensor B", - streams); + std::shared_ptr<Camera> camera = Camera::create(this, name, streams); registerCamera(std::move(camera), std::move(data)); return true; |