Index: remoting/host/client_session.cc |
diff --git a/remoting/host/client_session.cc b/remoting/host/client_session.cc |
index 1b580dc8370e8bea4964d32816d75d82b471335c..6fae3250d63d61ac6e327debccb43ec6dd7c3a44 100644 |
--- a/remoting/host/client_session.cc |
+++ b/remoting/host/client_session.cc |
@@ -464,12 +464,14 @@ void ClientSession::ResetVideoPipeline() { |
&mouse_clamping_filter_); |
// Apply video-control parameters to the new scheduler. |
- video_scheduler_->Pause(pause_video_); |
video_scheduler_->SetLosslessEncode(lossless_video_encode_); |
video_scheduler_->SetLosslessColor(lossless_video_color_); |
// Start capturing the screen. |
video_scheduler_->Start(); |
+ |
+ // Pause capturing if necessary. |
+ video_scheduler_->Pause(pause_video_); |
} |
void ClientSession::SetGnubbyAuthHandlerForTesting( |