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 b60d2a629a45c06a9c27a1d3f9eaf072df8df0fe..85422a46546446e4aba35e5e630c7b21dc4ebec4 100644 |
--- a/webrtc/video/end_to_end_tests.cc |
+++ b/webrtc/video/end_to_end_tests.cc |
@@ -2931,6 +2931,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. |