summaryrefslogtreecommitdiff
path: root/src/android/camera_device.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/android/camera_device.cpp')
-rw-r--r--src/android/camera_device.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/android/camera_device.cpp b/src/android/camera_device.cpp
index 13ee5fab..678cde23 100644
--- a/src/android/camera_device.cpp
+++ b/src/android/camera_device.cpp
@@ -682,8 +682,8 @@ int CameraDevice::configureStreams(camera3_stream_configuration_t *stream_list)
config->addConfiguration(streamConfig.config);
for (auto &stream : streamConfig.streams) {
- streams_.emplace_back(this, stream.type, stream.stream,
- config->size() - 1);
+ streams_.emplace_back(this, config.get(), stream.type,
+ stream.stream, config->size() - 1);
stream.stream->priv = static_cast<void *>(&streams_.back());
}
}