Index: webrtc/modules/video_coding/codecs/vp8/test/vp8_impl_unittest.cc |
diff --git a/webrtc/modules/video_coding/codecs/vp8/test/vp8_impl_unittest.cc b/webrtc/modules/video_coding/codecs/vp8/test/vp8_impl_unittest.cc |
index 63be85afdcabfd379fe11bad9b739d9a203fa28a..487a9da846a24d8bca9f27eaa0e537fa001d0a47 100644 |
--- a/webrtc/modules/video_coding/codecs/vp8/test/vp8_impl_unittest.cc |
+++ b/webrtc/modules/video_coding/codecs/vp8/test/vp8_impl_unittest.cc |
@@ -160,7 +160,7 @@ class TestVp8Impl : public ::testing::Test { |
codec_inst_.startBitrate = 300; |
codec_inst_.maxBitrate = 4000; |
codec_inst_.qpMax = 56; |
- codec_inst_.codecSpecific.VP8.denoisingOn = true; |
+ codec_inst_.VP8()->denoisingOn = true; |
EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, |
encoder_->InitEncode(&codec_inst_, 1, 1440)); |
@@ -213,8 +213,8 @@ TEST_F(TestVp8Impl, EncoderParameterTest) { |
codec_inst_.maxFramerate = 30; |
codec_inst_.startBitrate = 300; |
codec_inst_.qpMax = 56; |
- codec_inst_.codecSpecific.VP8.complexity = kComplexityNormal; |
- codec_inst_.codecSpecific.VP8.numberOfTemporalLayers = 1; |
+ codec_inst_.VP8()->complexity = kComplexityNormal; |
+ codec_inst_.VP8()->numberOfTemporalLayers = 1; |
// Calls before InitEncode(). |
EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, encoder_->Release()); |
int bit_rate = 300; |