diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libcamera/pipeline/simple/simple.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/libcamera/pipeline/simple/simple.cpp b/src/libcamera/pipeline/simple/simple.cpp index 582c9ba4..cadaf5d0 100644 --- a/src/libcamera/pipeline/simple/simple.cpp +++ b/src/libcamera/pipeline/simple/simple.cpp @@ -313,8 +313,6 @@ private: std::map<const MediaEntity *, EntityData> entities_; MediaDevice *converter_; - - Camera *activeCamera_; }; /* ----------------------------------------------------------------------------- @@ -1035,8 +1033,6 @@ int SimplePipelineHandler::start(Camera *camera, [[maybe_unused]] const ControlL video->queueBuffer(buffer.get()); } - activeCamera_ = camera; - return 0; } @@ -1054,7 +1050,6 @@ void SimplePipelineHandler::stop(Camera *camera) video->bufferReady.disconnect(data, &SimpleCameraData::bufferReady); data->converterBuffers_.clear(); - activeCamera_ = nullptr; releasePipeline(data); } |