Index: webrtc/api/peerconnectionfactory.cc |
diff --git a/webrtc/api/peerconnectionfactory.cc b/webrtc/api/peerconnectionfactory.cc |
index c05cd852f605faada5dbd47e68e7b2ec8afd94e8..d6510b09b21004b2951efc6fa9072b69d68a7532 100644 |
--- a/webrtc/api/peerconnectionfactory.cc |
+++ b/webrtc/api/peerconnectionfactory.cc |
@@ -204,7 +204,7 @@ PeerConnectionFactory::CreateVideoSource( |
const MediaConstraintsInterface* constraints) { |
RTC_DCHECK(signaling_thread_->IsCurrent()); |
rtc::scoped_refptr<VideoSource> source(VideoSource::Create( |
- channel_manager_.get(), capturer, constraints, false)); |
+ worker_thread_, capturer, constraints, false)); |
return VideoSourceProxy::Create(signaling_thread_, source); |
} |