summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/v4l2/v4l2_camera_proxy.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/v4l2/v4l2_camera_proxy.cpp b/src/v4l2/v4l2_camera_proxy.cpp
index d38500a3..a84405a3 100644
--- a/src/v4l2/v4l2_camera_proxy.cpp
+++ b/src/v4l2/v4l2_camera_proxy.cpp
@@ -92,8 +92,7 @@ void *V4L2CameraProxy::mmap(void *addr, size_t length, int prot, int flags,
return MAP_FAILED;
}
- FileDescriptor fd = vcam_->invokeMethod(&V4L2Camera::getBufferFd,
- ConnectionTypeBlocking, index);
+ FileDescriptor fd = vcam_->getBufferFd(index);
if (!fd.isValid()) {
errno = EINVAL;
return MAP_FAILED;