Source code

Revision control

Copy as Markdown

Other Tools

From: Andreas Pehrson <apehrson@mozilla.com>
Date: Fri, 19 Apr 2024 06:09:00 +0000
Subject: Bug 1892221 - Initialize VideoCaptureModuleV4L2::_streaming in ctor.
r=webrtc-reviewers,dbaker
---
modules/video_capture/linux/video_capture_v4l2.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/video_capture/linux/video_capture_v4l2.cc b/modules/video_capture/linux/video_capture_v4l2.cc
index db2450a2c7..74af348a6c 100644
--- a/modules/video_capture/linux/video_capture_v4l2.cc
+++ b/modules/video_capture/linux/video_capture_v4l2.cc
@@ -62,6 +62,7 @@ VideoCaptureModuleV4L2::VideoCaptureModuleV4L2()
_deviceId(-1),
_deviceFd(-1),
_buffersAllocatedByDevice(-1),
+ _streaming(false),
_captureStarted(false),
_pool(NULL) {}