Index: media/engine/webrtcvideoengine_unittest.cc |
diff --git a/media/engine/webrtcvideoengine_unittest.cc b/media/engine/webrtcvideoengine_unittest.cc |
index 936bc739c19cbcb0f64e6adb8261b1227a1c6163..ec7c740fa3d4b9aa405cc1c20d854618948f24d4 100644 |
--- a/media/engine/webrtcvideoengine_unittest.cc |
+++ b/media/engine/webrtcvideoengine_unittest.cc |
@@ -3319,14 +3319,14 @@ TEST_F(WebRtcVideoChannelTest, SetRecvCodecsWithoutFecDisablesFec) { |
FakeVideoReceiveStream* stream = AddRecvStream(); |
EXPECT_EQ(GetEngineCodec("ulpfec").id, |
- stream->GetConfig().rtp.ulpfec.ulpfec_payload_type); |
+ stream->GetConfig().rtp.ulpfec_payload_type); |
cricket::VideoRecvParameters recv_parameters; |
recv_parameters.codecs.push_back(GetEngineCodec("VP8")); |
ASSERT_TRUE(channel_->SetRecvParameters(recv_parameters)); |
stream = fake_call_->GetVideoReceiveStreams()[0]; |
ASSERT_TRUE(stream != nullptr); |
- EXPECT_EQ(-1, stream->GetConfig().rtp.ulpfec.ulpfec_payload_type) |
+ EXPECT_EQ(-1, stream->GetConfig().rtp.ulpfec_payload_type) |
<< "SetSendCodec without ULPFEC should disable current ULPFEC."; |
} |
@@ -3353,7 +3353,7 @@ TEST_F(WebRtcVideoChannelFlexfecRecvTest, SetRecvParamsWithoutFecDisablesFec) { |
TEST_F(WebRtcVideoChannelTest, SetSendParamsWithFecEnablesFec) { |
FakeVideoReceiveStream* stream = AddRecvStream(); |
EXPECT_EQ(GetEngineCodec("ulpfec").id, |
- stream->GetConfig().rtp.ulpfec.ulpfec_payload_type); |
+ stream->GetConfig().rtp.ulpfec_payload_type); |
cricket::VideoRecvParameters recv_parameters; |
recv_parameters.codecs.push_back(GetEngineCodec("VP8")); |
@@ -3363,7 +3363,7 @@ TEST_F(WebRtcVideoChannelTest, SetSendParamsWithFecEnablesFec) { |
stream = fake_call_->GetVideoReceiveStreams()[0]; |
ASSERT_TRUE(stream != nullptr); |
EXPECT_EQ(GetEngineCodec("ulpfec").id, |
- stream->GetConfig().rtp.ulpfec.ulpfec_payload_type) |
+ stream->GetConfig().rtp.ulpfec_payload_type) |
<< "ULPFEC should be enabled on the receive stream."; |
cricket::VideoSendParameters send_parameters; |
@@ -3373,7 +3373,7 @@ TEST_F(WebRtcVideoChannelTest, SetSendParamsWithFecEnablesFec) { |
ASSERT_TRUE(channel_->SetSendParameters(send_parameters)); |
stream = fake_call_->GetVideoReceiveStreams()[0]; |
EXPECT_EQ(GetEngineCodec("ulpfec").id, |
- stream->GetConfig().rtp.ulpfec.ulpfec_payload_type) |
+ stream->GetConfig().rtp.ulpfec_payload_type) |
<< "ULPFEC should be enabled on the receive stream."; |
} |