Index: talk/app/webrtc/videosource_unittest.cc |
diff --git a/talk/app/webrtc/videosource_unittest.cc b/talk/app/webrtc/videosource_unittest.cc |
index 8d6d6ac9bf9558fdfc6ea89d4b072cad03c7a556..6f1df3434ee5e4d610cfd960cbe3ee65a271396f 100644 |
--- a/talk/app/webrtc/videosource_unittest.cc |
+++ b/talk/app/webrtc/videosource_unittest.cc |
@@ -144,9 +144,9 @@ class VideoSourceTest : public testing::Test { |
void CreateVideoSource( |
const webrtc::MediaConstraintsInterface* constraints) { |
// VideoSource take ownership of |capturer_| |
- source_ = VideoSource::Create(channel_manager_.get(), |
- capturer_cleanup_.release(), |
- constraints); |
+ source_ = |
+ VideoSource::Create(channel_manager_.get(), capturer_cleanup_.release(), |
+ constraints, false); |
ASSERT_TRUE(source_.get() != NULL); |
EXPECT_EQ(capturer_, source_->GetVideoCapturer()); |
@@ -210,8 +210,7 @@ TEST_F(VideoSourceTest, StopRestart) { |
// RemoteVideoCapturer and takes video frames from FrameInput. |
TEST_F(VideoSourceTest, StartStopRemote) { |
source_ = VideoSource::Create(channel_manager_.get(), |
- new webrtc::RemoteVideoCapturer(), |
- NULL); |
+ new webrtc::RemoteVideoCapturer(), NULL, true); |
ASSERT_TRUE(source_.get() != NULL); |
EXPECT_TRUE(NULL != source_->GetVideoCapturer()); |