| Index: webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc
|
| diff --git a/webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc b/webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc
|
| index aa334da32551d6a917ce9de267caaaf4714d6e77..dd9da0f4a6c82e76212d0863bd83a64d547e740e 100644
|
| --- a/webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc
|
| +++ b/webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc
|
| @@ -765,9 +765,8 @@ int VP8EncoderImpl::Encode(const VideoFrame& frame,
|
| }
|
|
|
| vpx_codec_control(&encoders_[i], VP8E_SET_FRAME_FLAGS, flags[stream_idx]);
|
| - vpx_codec_control(
|
| - &encoders_[i], VP8E_SET_TEMPORAL_LAYER_ID,
|
| - temporal_layers_[stream_idx]->GetTemporalLayerId(tl_configs[i]));
|
| + vpx_codec_control(&encoders_[i], VP8E_SET_TEMPORAL_LAYER_ID,
|
| + tl_configs[i].encoder_layer_id);
|
| }
|
| // TODO(holmer): Ideally the duration should be the timestamp diff of this
|
| // frame and the next frame to be encoded, which we don't have. Instead we
|
|
|