| Index: webrtc/pc/channelmanager_unittest.cc
|
| diff --git a/webrtc/pc/channelmanager_unittest.cc b/webrtc/pc/channelmanager_unittest.cc
|
| index 1eb09198d9f7f43f88baa980f673dd866663cad6..8cb066b25df3eb61db5c6b3cf03745863017e7d1 100644
|
| --- a/webrtc/pc/channelmanager_unittest.cc
|
| +++ b/webrtc/pc/channelmanager_unittest.cc
|
| @@ -22,14 +22,12 @@
|
| namespace cricket {
|
|
|
| static const AudioCodec kAudioCodecs[] = {
|
| - AudioCodec(97, "voice", 1, 2, 3, 0),
|
| - AudioCodec(111, "OPUS", 48000, 32000, 2, 0),
|
| + AudioCodec(97, "voice", 1, 2, 3), AudioCodec(111, "OPUS", 48000, 32000, 2),
|
| };
|
|
|
| static const VideoCodec kVideoCodecs[] = {
|
| - VideoCodec(99, "H264", 100, 200, 300, 0),
|
| - VideoCodec(100, "VP8", 100, 200, 300, 0),
|
| - VideoCodec(96, "rtx", 100, 200, 300, 0),
|
| + VideoCodec(99, "H264", 100, 200, 300),
|
| + VideoCodec(100, "VP8", 100, 200, 300), VideoCodec(96, "rtx", 100, 200, 300),
|
| };
|
|
|
| class ChannelManagerTest : public testing::Test {
|
| @@ -198,7 +196,7 @@ TEST_F(ChannelManagerTest, GetSetOutputVolume) {
|
|
|
| TEST_F(ChannelManagerTest, SetVideoRtxEnabled) {
|
| std::vector<VideoCodec> codecs;
|
| - const VideoCodec rtx_codec(96, "rtx", 0, 0, 0, 0);
|
| + const VideoCodec rtx_codec(96, "rtx", 0, 0, 0);
|
|
|
| // By default RTX is disabled.
|
| cm_->GetSupportedVideoCodecs(&codecs);
|
|
|