Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/rtc_desktop_media_list_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,7 @@ int32_t RTCDesktopMediaListImpl::UpdateSourceList(bool force_reload, bool get_th
}

webrtc::DesktopCapturer::SourceList new_sources;
thread_->Invoke<void>(RTC_FROM_HERE, [this,&new_sources] {
capturer_->GetSourceList(&new_sources);
});
capturer_->GetSourceList(&new_sources);

typedef std::set<webrtc::DesktopCapturer::SourceId> SourceSet;
SourceSet new_source_set;
Expand Down