| Index: webrtc/modules/audio_coding/neteq/neteq_impl.cc
|
| diff --git a/webrtc/modules/audio_coding/neteq/neteq_impl.cc b/webrtc/modules/audio_coding/neteq/neteq_impl.cc
|
| index 2252e573adcd9a5a3cc356e73bb373b344d9dec9..10473db3a1c9c193cc70307157161740276bd510 100644
|
| --- a/webrtc/modules/audio_coding/neteq/neteq_impl.cc
|
| +++ b/webrtc/modules/audio_coding/neteq/neteq_impl.cc
|
| @@ -742,7 +742,8 @@ int NetEqImpl::InsertPacketInternal(const WebRtcRTPHeader& rtp_header,
|
| const DecoderDatabase::DecoderInfo* dec_info =
|
| decoder_database_->GetDecoderInfo(main_header.payloadType);
|
| assert(dec_info); // Already checked that the payload type is known.
|
| - delay_manager_->LastDecoderType(dec_info->codec_type);
|
| + delay_manager_->LastDecodedWasCngOrDtmf(dec_info->IsComfortNoise() ||
|
| + dec_info->IsDtmf());
|
| if (delay_manager_->last_pack_cng_or_dtmf() == 0) {
|
| // Calculate the total speech length carried in each packet.
|
| const size_t buffer_length_after_insert =
|
|
|