| Index: webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.cc
|
| diff --git a/webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.cc b/webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.cc
|
| index 4d85858a1621aa211eddd4b074365d893f0e58f4..72585a596129617b2b9f8a244e111dc2b4097018 100644
|
| --- a/webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.cc
|
| +++ b/webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.cc
|
| @@ -228,12 +228,10 @@ int32_t H264EncoderImpl::InitEncode(const VideoCodec* codec_settings,
|
|
|
| // The following parameters are extension parameters (they're in SEncParamExt,
|
| // not in SEncParamBase).
|
| - init_params.bEnableFrameSkip =
|
| - codec_settings_.codecSpecific.H264.frameDroppingOn;
|
| + init_params.bEnableFrameSkip = codec_settings_.H264()->frameDroppingOn;
|
| // |uiIntraPeriod| - multiple of GOP size
|
| // |keyFrameInterval| - number of frames
|
| - init_params.uiIntraPeriod =
|
| - codec_settings_.codecSpecific.H264.keyFrameInterval;
|
| + init_params.uiIntraPeriod = codec_settings_.H264()->keyFrameInterval;
|
| init_params.uiMaxNalSize = 0;
|
| // Threading model: use auto.
|
| // 0: auto (dynamic imp. internal encoder)
|
|
|