| Index: remoting/protocol/webrtc_video_capturer_adapter.cc
|
| diff --git a/remoting/protocol/webrtc_video_capturer_adapter.cc b/remoting/protocol/webrtc_video_capturer_adapter.cc
|
| index 9bf51ed6b3cfd8e2cabdfb64c9f4c5ac1c1b5e29..42442b36f19a1b1c0b79963541f3800bdf15f72a 100644
|
| --- a/remoting/protocol/webrtc_video_capturer_adapter.cc
|
| +++ b/remoting/protocol/webrtc_video_capturer_adapter.cc
|
| @@ -9,7 +9,7 @@
|
| namespace remoting {
|
|
|
| // Number of frames to be captured per second.
|
| -const int kFramesPerSec = 10;
|
| +const int kFramesPerSec = 30;
|
|
|
| WebrtcVideoCapturerAdapter::WebrtcVideoCapturerAdapter(
|
| scoped_ptr<webrtc::DesktopCapturer> capturer)
|
| @@ -157,6 +157,7 @@ void WebrtcVideoCapturerAdapter::Stop() {
|
| DCHECK_NE(capture_state(), cricket::CS_STOPPED);
|
|
|
| capture_timer_.reset();
|
| + desktop_capturer_.reset();
|
|
|
| SetCaptureFormat(nullptr);
|
| SetCaptureState(cricket::CS_STOPPED);
|
| @@ -164,7 +165,6 @@ void WebrtcVideoCapturerAdapter::Stop() {
|
| VLOG(1) << "WebrtcVideoCapturerAdapter stopped.";
|
| }
|
|
|
| -
|
| bool WebrtcVideoCapturerAdapter::IsRunning() {
|
| DCHECK(thread_checker_.CalledOnValidThread());
|
|
|
|
|