summaryrefslogtreecommitdiff
path: root/src/v4l2/v4l2_camera_file.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/v4l2/v4l2_camera_file.cpp')
-rw-r--r--src/v4l2/v4l2_camera_file.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/v4l2/v4l2_camera_file.cpp b/src/v4l2/v4l2_camera_file.cpp
index d3232ab2..a07679b5 100644
--- a/src/v4l2/v4l2_camera_file.cpp
+++ b/src/v4l2/v4l2_camera_file.cpp
@@ -17,10 +17,10 @@ V4L2CameraFile::V4L2CameraFile(int efd, bool nonBlocking, V4L2CameraProxy *proxy
: proxy_(proxy), nonBlocking_(nonBlocking), efd_(efd),
priority_(V4L2_PRIORITY_DEFAULT)
{
- proxy_->open(nonBlocking);
+ proxy_->open(this);
}
V4L2CameraFile::~V4L2CameraFile()
{
- proxy_->close();
+ proxy_->close(this);
}