Index: webrtc/modules/video_coding/video_receiver_unittest.cc |
diff --git a/webrtc/modules/video_coding/video_receiver_unittest.cc b/webrtc/modules/video_coding/video_receiver_unittest.cc |
index 3e4d3244c6d11d39da2814b92978613ba5e44e43..48ecdc20a742db19e498676e9ae4c25f76382e75 100644 |
--- a/webrtc/modules/video_coding/video_receiver_unittest.cc |
+++ b/webrtc/modules/video_coding/video_receiver_unittest.cc |
@@ -19,6 +19,7 @@ |
#include "webrtc/modules/video_coding/video_coding_impl.h" |
#include "webrtc/system_wrappers/include/clock.h" |
#include "webrtc/test/gtest.h" |
+#include "webrtc/test/video_codec_settings.h" |
using ::testing::_; |
using ::testing::AnyNumber; |
@@ -43,7 +44,7 @@ class TestVideoReceiver : public ::testing::Test { |
const int kMaxPacketAgeToNack = 450; |
receiver_->SetNackSettings(kMaxNackListSize, kMaxPacketAgeToNack, 0); |
- VideoCodingModule::Codec(kVideoCodecVP8, &settings_); |
+ webrtc::test::CodecSettings(kVideoCodecVP8, &settings_); |
settings_.plType = kUnusedPayloadType; // Use the mocked encoder. |
EXPECT_EQ(0, receiver_->RegisterReceiveCodec(&settings_, 1, true)); |