We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 279a054 commit 04ee244Copy full SHA for 04ee244
modules/video_capture/windows/video_capture_ds.cc
@@ -125,7 +125,6 @@ int32_t VideoCaptureDS::Init(const char* deviceUniqueIdUTF8) {
125
126
int32_t VideoCaptureDS::StartCapture(const VideoCaptureCapability& capability) {
127
RTC_DCHECK_RUN_ON(&api_checker_);
128
- MutexLock lock(&api_lock_);
129
130
if (capability != _requestedCapability) {
131
DisconnectGraph();
@@ -150,7 +149,6 @@ int32_t VideoCaptureDS::StartCapture(const VideoCaptureCapability& capability) {
150
149
151
int32_t VideoCaptureDS::StopCapture() {
152
153
154
155
HRESULT hr = _mediaControl->StopWhenReady();
156
if (FAILED(hr)) {
0 commit comments