summaryrefslogtreecommitdiff
path: root/test/camera/capture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/camera/capture.cpp')
-rw-r--r--test/camera/capture.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/camera/capture.cpp b/test/camera/capture.cpp
index 791ccad1..83f97474 100644
--- a/test/camera/capture.cpp
+++ b/test/camera/capture.cpp
@@ -27,11 +27,13 @@ protected:
completeBuffersCount_++;
}
- void requestComplete(Request *request, const std::map<Stream *, Buffer *> &buffers)
+ void requestComplete(Request *request)
{
if (request->status() != Request::RequestComplete)
return;
+ const std::map<Stream *, Buffer *> &buffers = request->buffers();
+
completeRequestsCount_++;
/* Create a new request. */