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

Unified Diff: talk/app/webrtc/videosource.cc

Issue 1655793003: Make cricket::VideoCapturer implement VideoSourceInterface (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fixed Android Created 4 years, 11 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: talk/app/webrtc/videosource.cc
diff --git a/talk/app/webrtc/videosource.cc b/talk/app/webrtc/videosource.cc
index 8006c583b6f7f00fac9b6b39d18401f33f06ef57..bdf3462816e993b4090671a1748cd3e24df83caf 100644
--- a/talk/app/webrtc/videosource.cc
+++ b/talk/app/webrtc/videosource.cc
@@ -27,6 +27,7 @@
#include "talk/app/webrtc/videosource.h"
+#include <string>
#include <vector>
#include <cstdlib>
@@ -309,10 +310,7 @@ class FrameInputWrapper : public cricket::VideoRenderer {
return true;
}
- // This signal will be made on media engine render thread. The clients
- // of this signal should have no assumptions on what thread this signal
- // come from.
- capturer_->SignalVideoFrame(capturer_, frame);
+ capturer_->DeliverFrameToSinks(*frame);
return true;
}

Powered by Google App Engine
This is Rietveld 408576698