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 186e14e1f3b526c89c80e9f0a683b6481ec103a4..c8c122a97b4bb5100f5346c56f6bd450c70c5998 100644 |
--- a/webrtc/video/end_to_end_tests.cc |
+++ b/webrtc/video/end_to_end_tests.cc |
@@ -2952,6 +2952,7 @@ void EndToEndTest::TestRtpStatePreservation(bool use_rtx) { |
static const int32_t kMaxTimestampGap = kDefaultTimeoutMs * 90; |
auto timestamp_it = last_observed_timestamp_.find(ssrc); |
if (timestamp_it == last_observed_timestamp_.end()) { |
+ EXPECT_FALSE(only_padding); |
last_observed_timestamp_[ssrc] = timestamp; |
} else { |
// Verify timestamps are reasonably close. |