Index: talk/app/webrtc/peerconnectionfactory.cc |
diff --git a/talk/app/webrtc/peerconnectionfactory.cc b/talk/app/webrtc/peerconnectionfactory.cc |
index 672355085a6b775e57264dd92a241f64295260e3..d01f5428265a8088e710462f73247abc7adb7173 100644 |
--- a/talk/app/webrtc/peerconnectionfactory.cc |
+++ b/talk/app/webrtc/peerconnectionfactory.cc |
@@ -225,8 +225,8 @@ PeerConnectionFactory::CreateVideoSource( |
cricket::VideoCapturer* capturer, |
const MediaConstraintsInterface* constraints) { |
RTC_DCHECK(signaling_thread_->IsCurrent()); |
- rtc::scoped_refptr<VideoSource> source( |
- VideoSource::Create(channel_manager_.get(), capturer, constraints)); |
+ rtc::scoped_refptr<VideoSource> source(VideoSource::Create( |
+ channel_manager_.get(), capturer, constraints, false)); |
return VideoSourceProxy::Create(signaling_thread_, source); |
} |
@@ -339,8 +339,7 @@ rtc::scoped_refptr<AudioTrackInterface> |
PeerConnectionFactory::CreateAudioTrack(const std::string& id, |
AudioSourceInterface* source) { |
RTC_DCHECK(signaling_thread_->IsCurrent()); |
- rtc::scoped_refptr<AudioTrackInterface> track( |
- AudioTrack::Create(id, source)); |
+ rtc::scoped_refptr<AudioTrackInterface> track(AudioTrack::Create(id, source)); |
return AudioTrackProxy::Create(signaling_thread_, track); |
} |