Index: webrtc/video/end_to_end_tests.cc |
diff --git a/webrtc/video/end_to_end_tests.cc b/webrtc/video/end_to_end_tests.cc |
index 8b923a7b97741f221685a111d3eb9ea27311b6af..7b796c00b440e4955425115f4857d18cf419b1f2 100644 |
--- a/webrtc/video/end_to_end_tests.cc |
+++ b/webrtc/video/end_to_end_tests.cc |
@@ -233,7 +233,8 @@ TEST_F(EndToEndTest, RendersSingleDelayedFrame) { |
std::unique_ptr<test::FrameGenerator> frame_generator( |
test::FrameGenerator::CreateChromaGenerator(kWidth, kHeight)); |
test::FrameForwarder frame_forwarder; |
- video_send_stream_->SetSource(&frame_forwarder); |
+ video_send_stream_->SetSource( |
+ &frame_forwarder, VideoSendStream::DegradationPreference::kBalanced); |
frame_forwarder.IncomingCapturedFrame(*frame_generator->NextFrame()); |
EXPECT_TRUE(pre_render_callback.Wait()) |
@@ -279,7 +280,8 @@ TEST_F(EndToEndTest, TransmitsFirstFrame) { |
test::FrameGenerator::CreateChromaGenerator(kDefaultWidth, |
kDefaultHeight)); |
test::FrameForwarder frame_forwarder; |
- video_send_stream_->SetSource(&frame_forwarder); |
+ video_send_stream_->SetSource( |
+ &frame_forwarder, VideoSendStream::DegradationPreference::kBalanced); |
frame_forwarder.IncomingCapturedFrame(*frame_generator->NextFrame()); |
EXPECT_TRUE(renderer.Wait()) |
@@ -1317,7 +1319,9 @@ class MultiStreamTest { |
frame_generators[i] = test::FrameGeneratorCapturer::Create( |
width, height, 30, Clock::GetRealTimeClock()); |
- send_streams[i]->SetSource(frame_generators[i]); |
+ send_streams[i]->SetSource( |
+ frame_generators[i], |
+ VideoSendStream::DegradationPreference::kBalanced); |
frame_generators[i]->Start(); |
} |
@@ -1777,7 +1781,8 @@ TEST_F(EndToEndTest, ObserversEncodedFrames) { |
test::FrameGenerator::CreateChromaGenerator(kDefaultWidth, |
kDefaultHeight)); |
test::FrameForwarder forwarder; |
- video_send_stream_->SetSource(&forwarder); |
+ video_send_stream_->SetSource( |
+ &forwarder, VideoSendStream::DegradationPreference::kBalanced); |
forwarder.IncomingCapturedFrame(*frame_generator->NextFrame()); |
EXPECT_TRUE(post_encode_observer.Wait()) |