Index: webrtc/modules/rtp_rtcp/source/nack_rtx_unittest.cc |
diff --git a/webrtc/modules/rtp_rtcp/source/nack_rtx_unittest.cc b/webrtc/modules/rtp_rtcp/source/nack_rtx_unittest.cc |
index a0e0cecff68e7922bcbafdbf83c8d18647e06f8b..052060cc2479b9ac15af97d4ebbdc86768e99af9 100644 |
--- a/webrtc/modules/rtp_rtcp/source/nack_rtx_unittest.cc |
+++ b/webrtc/modules/rtp_rtcp/source/nack_rtx_unittest.cc |
@@ -264,9 +264,9 @@ class RtpRtcpRtxNackTest : public ::testing::Test { |
uint32_t timestamp = 3000; |
uint16_t nack_list[kVideoNackListSize]; |
for (int frame = 0; frame < kNumFrames; ++frame) { |
- EXPECT_EQ(0, rtp_rtcp_module_->SendOutgoingData( |
- webrtc::kVideoFrameDelta, kPayloadType, timestamp, |
- timestamp / 90, payload_data, payload_data_length)); |
+ EXPECT_TRUE(rtp_rtcp_module_->SendOutgoingData( |
+ webrtc::kVideoFrameDelta, kPayloadType, timestamp, timestamp / 90, |
+ payload_data, payload_data_length, nullptr, nullptr, nullptr)); |
// Min required delay until retransmit = 5 + RTT ms (RTT = 0). |
fake_clock.AdvanceTimeMilliseconds(5); |
int length = BuildNackList(nack_list); |
@@ -310,9 +310,9 @@ TEST_F(RtpRtcpRtxNackTest, LongNackList) { |
// Send 30 frames which at the default size is roughly what we need to get |
// enough packets. |
for (int frame = 0; frame < kNumFrames; ++frame) { |
- EXPECT_EQ(0, rtp_rtcp_module_->SendOutgoingData( |
- webrtc::kVideoFrameDelta, kPayloadType, timestamp, |
- timestamp / 90, payload_data, payload_data_length)); |
+ EXPECT_TRUE(rtp_rtcp_module_->SendOutgoingData( |
+ webrtc::kVideoFrameDelta, kPayloadType, timestamp, timestamp / 90, |
+ payload_data, payload_data_length, nullptr, nullptr, nullptr)); |
// Prepare next frame. |
timestamp += 3000; |
fake_clock.AdvanceTimeMilliseconds(33); |