mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-25 17:45:06 +03:00
libcamera: buffer: Break friendship with Request
The FrameBuffer class is only friends with Request so that the request can be associated with the buffers. FrameBuffer already has a helper to setRequest(), so let's use that directly instead. Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
70238ceca5
commit
dcc024760a
2 changed files with 5 additions and 5 deletions
|
@ -56,7 +56,6 @@ public:
|
|||
private:
|
||||
LIBCAMERA_DISABLE_COPY_AND_MOVE(FrameBuffer)
|
||||
|
||||
friend class Request; /* Needed to update request_. */
|
||||
friend class V4L2VideoDevice; /* Needed to update metadata_. */
|
||||
|
||||
std::vector<Plane> planes_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue