summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/buffer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libcamera/buffer.h b/include/libcamera/buffer.h
index ef3a3b36..6bb2e4f8 100644
--- a/include/libcamera/buffer.h
+++ b/include/libcamera/buffer.h
@@ -52,7 +52,8 @@ public:
const std::vector<Plane> &planes() const { return planes_; }
Request *request() const { return request_; }
- const FrameMetadata &metadata() const { return metadata_; };
+ void setRequest(Request *request) { request_ = request; }
+ const FrameMetadata &metadata() const { return metadata_; }
unsigned int cookie() const { return cookie_; }
void setCookie(unsigned int cookie) { cookie_ = cookie; }