summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/buffer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libcamera/buffer.h b/include/libcamera/buffer.h
index c349b995..80602124 100644
--- a/include/libcamera/buffer.h
+++ b/include/libcamera/buffer.h
@@ -40,6 +40,7 @@ private:
class BufferMemory final
{
public:
+ const std::vector<Plane> &planes() const { return planes_; }
std::vector<Plane> &planes() { return planes_; }
private: