diff options
Diffstat (limited to 'src/libcamera/pipeline/vimc.cpp')
-rw-r--r-- | src/libcamera/pipeline/vimc.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/libcamera/pipeline/vimc.cpp b/src/libcamera/pipeline/vimc.cpp index 2e8c26fb..4da4ca01 100644 --- a/src/libcamera/pipeline/vimc.cpp +++ b/src/libcamera/pipeline/vimc.cpp @@ -28,7 +28,7 @@ public: std::map<Stream *, StreamConfiguration> streamConfiguration(Camera *camera, - std::set<Stream *> &streams) override; + const std::vector<StreamUsage> &usages) override; int configureStreams(Camera *camera, std::map<Stream *, StreamConfiguration> &config) override; @@ -84,14 +84,12 @@ PipelineHandlerVimc::~PipelineHandlerVimc() std::map<Stream *, StreamConfiguration> PipelineHandlerVimc::streamConfiguration(Camera *camera, - std::set<Stream *> &streams) + const std::vector<StreamUsage> &usages) { VimcCameraData *data = cameraData(camera); std::map<Stream *, StreamConfiguration> configs; - StreamConfiguration config{}; - LOG(VIMC, Debug) << "Retrieving default format"; config.width = 640; config.height = 480; config.pixelFormat = V4L2_PIX_FMT_RGB24; |