Index: webrtc/video/video_send_stream.cc |
diff --git a/webrtc/video/video_send_stream.cc b/webrtc/video/video_send_stream.cc |
index 51c9dad13160a4cbbc454e6576db27fb4274b3aa..dcf7ac2e09948aa0e308adf4c9f871bb53a93ee1 100644 |
--- a/webrtc/video/video_send_stream.cc |
+++ b/webrtc/video/video_send_stream.cc |
@@ -636,8 +636,8 @@ void VideoSendStream::ReconfigureVideoEncoder(VideoEncoderConfig config) { |
// TODO(perkj): Some test cases in VideoSendStreamTest call |
// ReconfigureVideoEncoder from the network thread. |
// RTC_DCHECK_RUN_ON(&thread_checker_); |
- vie_encoder_->ConfigureEncoder(std::move(config), |
- config_.rtp.max_packet_size); |
+ vie_encoder_->ConfigureEncoder(std::move(config), config_.rtp.max_packet_size, |
+ config_.rtp.nack.rtp_history_ms > 0); |
} |
VideoSendStream::Stats VideoSendStream::GetStats() { |