diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2020-09-23 16:23:48 +0100 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2020-09-24 10:02:45 +0100 |
commit | 4ee88d107d0ed1bb6fa23b46d3b7a85c958a10ff (patch) | |
tree | 5995bfa73341680452854e32fdaecfd9c43a3be3 | |
parent | 8725c570222722c6c95345e62126372fd7fc074d (diff) |
simple-cam: Use the new BufferMap interface
The Request object has been updated to specify a BufferMap type.
Utilise it.
Reported-by: Erkan Diken <erkandiken@gmail.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r-- | simple-cam.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/simple-cam.cpp b/simple-cam.cpp index 56aed75..e2ac122 100644 --- a/simple-cam.cpp +++ b/simple-cam.cpp @@ -28,7 +28,7 @@ static void requestComplete(Request *request) if (request->status() == Request::RequestCancelled) return; - const std::map<Stream *, FrameBuffer *> &buffers = request->buffers(); + const Request::BufferMap &buffers = request->buffers(); for (auto bufferPair : buffers) { // (Unused) Stream *stream = bufferPair.first; |