Upstream commit: https://webrtc.googlesource.com/src/+/7e3a9ce99d832687d1eef3eaa270754970a761b0 Rely on TaskQueueBase interface in modules/rtp_rtcp Instead of requiring Thread to be passed to the RtpVideoStreamReceiverFrameTransformerDelegate. This class already uses it only though the TaskQueueBase interface. In tests rely on RunLoop helper when test makes calls that are required to be done on the same task queue, and rely on TaskQueueForTests where test does not make such calls. Bug: webrtc:42225410 Change-Id: I7aba5c696436d8ce43c85ccba5b9448e852ea81d Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/470880 Auto-Submit: Danil Chapovalov <danilchap@webrtc.org> Commit-Queue: Erik Språng <sprang@webrtc.org> Reviewed-by: Erik Språng <sprang@webrtc.org> Cr-Commit-Position: refs/heads/main@{#47662}
24 lines
967 B
Diff
24 lines
967 B
Diff
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
|
|
|
|
Differential Revision: https://phabricator.services.mozilla.com/D207926
|
|
Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/00c4bd7039dc8992dd93d4a5948a9260b72ec2a8
|
|
---
|
|
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 efb4b1df1a..0e75c72a14 100644
|
|
--- a/modules/video_capture/linux/video_capture_v4l2.cc
|
|
+++ b/modules/video_capture/linux/video_capture_v4l2.cc
|
|
@@ -67,6 +67,7 @@ VideoCaptureModuleV4L2::VideoCaptureModuleV4L2(Clock* clock)
|
|
_deviceId(-1),
|
|
_deviceFd(-1),
|
|
_buffersAllocatedByDevice(-1),
|
|
+ _streaming(false),
|
|
_captureStarted(false),
|
|
_pool(nullptr) {}
|
|
|