summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/framebuffer.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/include/libcamera/framebuffer.h b/include/libcamera/framebuffer.h
index d5aeff00..fd68ed0a 100644
--- a/include/libcamera/framebuffer.h
+++ b/include/libcamera/framebuffer.h
@@ -51,14 +51,7 @@ public:
FrameBuffer(const std::vector<Plane> &planes, unsigned int cookie = 0);
- const std::vector<Plane> &planes() const
- {
- /* \todo Remove the assertions after sufficient testing */
- for (const auto &plane : planes_)
- assert(plane.offset != Plane::kInvalidOffset);
- return planes_;
- }
-
+ const std::vector<Plane> &planes() const { return planes_; }
Request *request() const;
const FrameMetadata &metadata() const { return metadata_; }