Index: webrtc/video/video_send_stream_tests.cc |
diff --git a/webrtc/video/video_send_stream_tests.cc b/webrtc/video/video_send_stream_tests.cc |
index 2cd542a3020aa0d15f2868fcbe7e34bbaa68fb31..8fcc9ef266b1418208c2ef67c5af8ed4580afdc8 100644 |
--- a/webrtc/video/video_send_stream_tests.cc |
+++ b/webrtc/video/video_send_stream_tests.cc |
@@ -1940,7 +1940,7 @@ TEST_F(VideoSendStreamTest, CapturesTextureAndVideoFrames) { |
video_send_stream_->Start(); |
test::FrameForwarder forwarder; |
video_send_stream_->SetSource( |
- &forwarder, VideoSendStream::DegradationPreference::kBalanced); |
+ &forwarder, VideoSendStream::DegradationPreference::kMaintainFramerate); |
for (size_t i = 0; i < input_frames.size(); i++) { |
forwarder.IncomingCapturedFrame(input_frames[i]); |
// Wait until the output frame is received before sending the next input |
@@ -1949,7 +1949,7 @@ TEST_F(VideoSendStreamTest, CapturesTextureAndVideoFrames) { |
} |
video_send_stream_->Stop(); |
video_send_stream_->SetSource( |
- nullptr, VideoSendStream::DegradationPreference::kBalanced); |
+ nullptr, VideoSendStream::DegradationPreference::kMaintainFramerate); |
// Test if the input and output frames are the same. render_time_ms and |
// timestamp are not compared because capturer sets those values. |
@@ -3192,7 +3192,7 @@ void VideoSendStreamTest::TestRequestSourceRotateVideo( |
CreateVideoStreams(); |
test::FrameForwarder forwarder; |
video_send_stream_->SetSource( |
- &forwarder, VideoSendStream::DegradationPreference::kBalanced); |
+ &forwarder, VideoSendStream::DegradationPreference::kMaintainFramerate); |
EXPECT_TRUE(forwarder.sink_wants().rotation_applied != |
support_orientation_ext); |