Index: webrtc/ortc/ortcfactory.cc |
diff --git a/webrtc/ortc/ortcfactory.cc b/webrtc/ortc/ortcfactory.cc |
index 1d968738cd7368af3b24f72b32c7be7bfe448658..be1c4c7a76c8ce60c776af006875ad23a4d54cb5 100644 |
--- a/webrtc/ortc/ortcfactory.cc |
+++ b/webrtc/ortc/ortcfactory.cc |
@@ -479,7 +479,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); |
} |