summaryrefslogtreecommitdiff
path: root/include/libcamera/internal/v4l2_videodevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libcamera/internal/v4l2_videodevice.h')
-rw-r--r--include/libcamera/internal/v4l2_videodevice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libcamera/internal/v4l2_videodevice.h b/include/libcamera/internal/v4l2_videodevice.h
index 5ba2b546..9b2ec3af 100644
--- a/include/libcamera/internal/v4l2_videodevice.h
+++ b/include/libcamera/internal/v4l2_videodevice.h
@@ -140,7 +140,7 @@ private:
private:
struct Plane {
Plane(const FrameBuffer::Plane &plane)
- : fd(plane.fd.fd()), length(plane.length)
+ : fd(plane.fd.get()), length(plane.length)
{
}