| Index: webrtc/video/video_receive_stream.cc
|
| diff --git a/webrtc/video/video_receive_stream.cc b/webrtc/video/video_receive_stream.cc
|
| index 770fc96fc30fe2b23509fb1b550e8c8a48ff5f6e..3ad97f5ccd93041cc16b8e2fa0e4ee63c8d31fdb 100644
|
| --- a/webrtc/video/video_receive_stream.cc
|
| +++ b/webrtc/video/video_receive_stream.cc
|
| @@ -147,22 +147,22 @@ namespace internal {
|
| VideoReceiveStream::VideoReceiveStream(
|
| int num_cpu_cores,
|
| CongestionController* congestion_controller,
|
| - const VideoReceiveStream::Config& config,
|
| + VideoReceiveStream::Config config,
|
| webrtc::VoiceEngine* voice_engine,
|
| ProcessThread* process_thread,
|
| CallStats* call_stats,
|
| VieRemb* remb)
|
| : transport_adapter_(config.rtcp_send_transport),
|
| encoded_frame_proxy_(config.pre_decode_callback),
|
| - config_(config),
|
| + config_(std::move(config)),
|
| process_thread_(process_thread),
|
| clock_(Clock::GetRealTimeClock()),
|
| decode_thread_(DecodeThreadFunction, this, "DecodingThread"),
|
| congestion_controller_(congestion_controller),
|
| call_stats_(call_stats),
|
| video_receiver_(clock_, nullptr, this, this, this),
|
| - incoming_video_stream_(config.disable_prerenderer_smoothing),
|
| - stats_proxy_(config_, clock_),
|
| + incoming_video_stream_(config_.disable_prerenderer_smoothing),
|
| + stats_proxy_(&config_, clock_),
|
| rtp_stream_receiver_(&video_receiver_,
|
| congestion_controller_->GetRemoteBitrateEstimator(
|
| UseSendSideBwe(config_)),
|
| @@ -171,7 +171,7 @@ VideoReceiveStream::VideoReceiveStream(
|
| congestion_controller_->pacer(),
|
| congestion_controller_->packet_router(),
|
| remb,
|
| - config,
|
| + &config_,
|
| &stats_proxy_,
|
| process_thread_),
|
| video_stream_decoder_(&video_receiver_,
|
|
|