summaryrefslogtreecommitdiff
path: root/test/camera/statemachine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/camera/statemachine.cpp')
-rw-r--r--test/camera/statemachine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/camera/statemachine.cpp b/test/camera/statemachine.cpp
index afa13ba7..f627b8f3 100644
--- a/test/camera/statemachine.cpp
+++ b/test/camera/statemachine.cpp
@@ -219,7 +219,7 @@ protected:
Stream *stream = *camera_->streams().begin();
std::unique_ptr<Buffer> buffer = stream->createBuffer(0);
- if (request->addBuffer(std::move(buffer)))
+ if (request->addBuffer(stream, std::move(buffer)))
return TestFail;
if (camera_->queueRequest(request))