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 8d1135a4ab93ef7b426b84b461e67861d74a5ff6..9cb8916d7d7017d8aab20ebeb564a2898f69b760 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. |