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 0bd1ec247211c4fe6f49c27656a843c33d2ef136..21707ec66e9802a792ece8d37cd4d26fc882f486 100644 |
--- a/webrtc/video/end_to_end_tests.cc |
+++ b/webrtc/video/end_to_end_tests.cc |
@@ -2748,6 +2748,9 @@ TEST_F(EndToEndTest, GetStats) { |
stats.encoder_implementation_name == |
test::FakeEncoder::kImplementationName; |
+ send_stats_filled_["EncoderPreferredBitrate"] |= |
+ stats.preferred_media_bitrate_bps > 0; |
+ |
for (std::map<uint32_t, VideoSendStream::StreamStats>::const_iterator it = |
stats.substreams.begin(); |
it != stats.substreams.end(); ++it) { |