summaryrefslogtreecommitdiff
path: root/src/v4l2/v4l2_camera_proxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/v4l2/v4l2_camera_proxy.h')
-rw-r--r--src/v4l2/v4l2_camera_proxy.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/v4l2/v4l2_camera_proxy.h b/src/v4l2/v4l2_camera_proxy.h
index af9f9bbe..7c65c886 100644
--- a/src/v4l2/v4l2_camera_proxy.h
+++ b/src/v4l2/v4l2_camera_proxy.h
@@ -33,6 +33,8 @@ public:
int ioctl(unsigned long request, void *arg);
+ void bind(int fd);
+
private:
bool validateBufferType(uint32_t type);
bool validateMemoryType(uint32_t memory);
@@ -77,6 +79,8 @@ private:
std::map<void *, unsigned int> mmaps_;
std::unique_ptr<V4L2Camera> vcam_;
+
+ int efd_;
};
#endif /* __V4L2_CAMERA_PROXY_H__ */