summaryrefslogtreecommitdiff
path: root/src/libcamera/include
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-04-26 03:43:08 +0300
committerJacopo Mondi <jacopo@jmondi.org>2020-04-26 15:15:47 +0200
commit66a1928a0a7a14c19f10d8fd09980258912f515e (patch)
tree0f13c8157095e8173b98a57687c26dbd9f3aaeea /src/libcamera/include
parent058407bb9ba4e122f464b3515f30ae1205ff803d (diff)
libcamera: v4l2_videodevice: Rename fdEvent_ to fdBufferNotifier_
To prepare for the addition of a second notifier for V4L2 events, rename the current fdEvent_ member to fdBufferNotifier_ to better reflect its usage. While at it, simplify allocation of the fdEvent_ notifier. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/libcamera/include')
-rw-r--r--src/libcamera/include/v4l2_videodevice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcamera/include/v4l2_videodevice.h b/src/libcamera/include/v4l2_videodevice.h
index f21b9264..ee63d28d 100644
--- a/src/libcamera/include/v4l2_videodevice.h
+++ b/src/libcamera/include/v4l2_videodevice.h
@@ -270,7 +270,7 @@ private:
V4L2BufferCache *cache_;
std::map<unsigned int, FrameBuffer *> queuedBuffers_;
- EventNotifier *fdEvent_;
+ EventNotifier *fdBufferNotifier_;
};
class V4L2M2MDevice