Index: webrtc/ortc/ortcfactory.cc |
diff --git a/webrtc/ortc/ortcfactory.cc b/webrtc/ortc/ortcfactory.cc |
index bf34f134fb01ac3ebb85d83f83d31c0fad3787cb..7f60d06c657f73f79c0bd8e0ad467fab15d12fd1 100644 |
--- a/webrtc/ortc/ortcfactory.cc |
+++ b/webrtc/ortc/ortcfactory.cc |
@@ -478,7 +478,8 @@ rtc::scoped_refptr<VideoTrackInterface> OrtcFactory::CreateVideoTrack( |
const std::string& id, |
VideoTrackSourceInterface* source) { |
RTC_DCHECK_RUN_ON(signaling_thread_); |
- rtc::scoped_refptr<VideoTrackInterface> track(VideoTrack::Create(id, source)); |
+ rtc::scoped_refptr<VideoTrackInterface> track( |
+ VideoTrack::Create(id, source, worker_thread_.get())); |
return VideoTrackProxy::Create(signaling_thread_, worker_thread_.get(), |
track); |
} |