summaryrefslogtreecommitdiff
path: root/tests/camera2/CameraMultiStreamTests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/camera2/CameraMultiStreamTests.cpp')
-rw-r--r--tests/camera2/CameraMultiStreamTests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/camera2/CameraMultiStreamTests.cpp b/tests/camera2/CameraMultiStreamTests.cpp
index eb64db1f..f4aeab72 100644
--- a/tests/camera2/CameraMultiStreamTests.cpp
+++ b/tests/camera2/CameraMultiStreamTests.cpp
@@ -334,7 +334,7 @@ public:
int height,
const sp<CameraDeviceBase>& device,
CameraStreamParams param = DEFAULT_STREAM_PARAMETERS,
- sp<Surface> surface = NULL,
+ const sp<Surface>& surface = NULL,
bool useCpuConsumer = true) {
param.mFormat = MapAutoFormat(param.mFormat);
return new CameraStream(width, height, device,