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 6d56da5e0184c27d2f582ac220213ebc71494047..7936cac4acc823c5e878fc77b8d58fab482da877 100644 |
--- a/webrtc/video/end_to_end_tests.cc |
+++ b/webrtc/video/end_to_end_tests.cc |
@@ -221,7 +221,8 @@ TEST_F(EndToEndTest, RendersSingleDelayedFrame) { |
test::FrameGenerator::CreateSquareGenerator(kWidth, kHeight)); |
test::FrameForwarder frame_forwarder; |
video_send_stream_->SetSource( |
- &frame_forwarder, VideoSendStream::DegradationPreference::kBalanced); |
+ &frame_forwarder, |
+ VideoSendStream::DegradationPreference::kMaintainFramerate); |
frame_forwarder.IncomingCapturedFrame(*frame_generator->NextFrame()); |
EXPECT_TRUE(renderer.Wait()) |
@@ -266,7 +267,8 @@ TEST_F(EndToEndTest, TransmitsFirstFrame) { |
kDefaultHeight)); |
test::FrameForwarder frame_forwarder; |
video_send_stream_->SetSource( |
- &frame_forwarder, VideoSendStream::DegradationPreference::kBalanced); |
+ &frame_forwarder, |
+ VideoSendStream::DegradationPreference::kMaintainFramerate); |
frame_forwarder.IncomingCapturedFrame(*frame_generator->NextFrame()); |
EXPECT_TRUE(renderer.Wait()) |
@@ -1497,7 +1499,7 @@ class MultiStreamTest { |
width, height, 30, Clock::GetRealTimeClock()); |
send_streams[i]->SetSource( |
frame_generators[i], |
- VideoSendStream::DegradationPreference::kBalanced); |
+ VideoSendStream::DegradationPreference::kMaintainFramerate); |
frame_generators[i]->Start(); |
} |
@@ -1944,7 +1946,7 @@ TEST_F(EndToEndTest, ObserversEncodedFrames) { |
kDefaultHeight)); |
test::FrameForwarder forwarder; |
video_send_stream_->SetSource( |
- &forwarder, VideoSendStream::DegradationPreference::kBalanced); |
+ &forwarder, VideoSendStream::DegradationPreference::kMaintainFramerate); |
forwarder.IncomingCapturedFrame(*frame_generator->NextFrame()); |
EXPECT_TRUE(post_encode_observer.Wait()) |