Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(250)

Unified Diff: remoting/protocol/webrtc_video_capturer_adapter.cc

Issue 1745923002: Remove use of deprecated methods to cricket::VideoCapturer in WebrtcVideoCapturerAdapter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 c0aeea1a193fe1cca5953777784155ef47c3e01c..aad4afb6178e516ace9752159a9f9a2e7d6d9c8c 100644
--- a/remoting/protocol/webrtc_video_capturer_adapter.cc
+++ b/remoting/protocol/webrtc_video_capturer_adapter.cc
@@ -76,7 +76,7 @@ cricket::CaptureState WebrtcVideoCapturerAdapter::Start(
// |desktop_capturer_|.
// 2. Does not support unpausing after stopping the capturer. It is unclear
// if that flow needs to be supported.
-bool WebrtcVideoCapturerAdapter::Pause(bool pause) {
+bool WebrtcVideoCapturerAdapter::PauseCapturer(bool pause) {
DCHECK(thread_checker_.CalledOnValidThread());
if (pause) {
@@ -223,7 +223,7 @@ void WebrtcVideoCapturerAdapter::OnCaptureCompleted(
yuv_frame_->GetVPitch(), width, height);
}
- SignalVideoFrame(this, yuv_frame_.get());
+ OnFrame(this, yuv_frame_.get());
}
void WebrtcVideoCapturerAdapter::CaptureNextFrame() {

Powered by Google App Engine
This is Rietveld 408576698