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

Unified Diff: webrtc/api/videotracksource.cc

Issue 1766653002: Replace SetCapturer and SetCaptureDevice by SetSource. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Work-in-progress, after applying 1790633002. 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: webrtc/api/videotracksource.cc
diff --git a/webrtc/api/videotracksource.cc b/webrtc/api/videotracksource.cc
index f8212d7a70cab20cfce2d4dc5349bb172b06cc4f..2a9e7e5a17b7f2137fdc612a8d41e7e4fb7eda54 100644
--- a/webrtc/api/videotracksource.cc
+++ b/webrtc/api/videotracksource.cc
@@ -57,4 +57,10 @@ void VideoTrackSource::RemoveSink(
source_, sink));
}
+void VideoTrackSource::GetInfo(rtc::VideoSourceInfo *info) {
+ if (source_)
+ source_->GetInfo(info);
perkj_webrtc 2016/03/20 15:01:46 Humm. This looks like a potential race with OnSour
nisse-webrtc 2016/03/23 14:07:02 I'd need some guidance on how to get the threading
perkj_webrtc 2016/03/24 11:02:50 That is correct. And should in practice never happ
+}
+
+
} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698