Index: webrtc/pc/peerconnectionfactory.cc |
diff --git a/webrtc/pc/peerconnectionfactory.cc b/webrtc/pc/peerconnectionfactory.cc |
index 15e36f094ac55c17d28f6fe5b2e5e910622f00bb..be083c26b79cd60110c29e2df36879234a4055ee 100644 |
--- a/webrtc/pc/peerconnectionfactory.cc |
+++ b/webrtc/pc/peerconnectionfactory.cc |
@@ -292,7 +292,7 @@ rtc::scoped_refptr<VideoTrackInterface> PeerConnectionFactory::CreateVideoTrack( |
VideoTrackSourceInterface* source) { |
RTC_DCHECK(signaling_thread_->IsCurrent()); |
rtc::scoped_refptr<VideoTrackInterface> track( |
- VideoTrack::Create(id, source)); |
+ VideoTrack::Create(id, source, worker_thread_)); |
return VideoTrackProxy::Create(signaling_thread_, worker_thread_, track); |
} |