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

Unified Diff: talk/session/media/channel.cc

Issue 1668493002: Replace uses of cricket::VideoRenderer by rtc::VideoSinkInterface. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: 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
« no previous file with comments | « talk/session/media/channel.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/session/media/channel.cc
diff --git a/talk/session/media/channel.cc b/talk/session/media/channel.cc
index 5a5aca6590713eba5af95343176fa3146fd68ac4..592f22d1082da664a5194e724a4dd1270f729c56 100644
--- a/talk/session/media/channel.cc
+++ b/talk/session/media/channel.cc
@@ -1650,7 +1650,6 @@ VideoChannel::VideoChannel(rtc::Thread* thread,
transport_controller,
content_name,
rtcp),
- renderer_(NULL),
previous_we_(rtc::WE_CLOSE) {}
bool VideoChannel::Init() {
@@ -1679,9 +1678,10 @@ VideoChannel::~VideoChannel() {
Deinit();
}
-bool VideoChannel::SetRenderer(uint32_t ssrc, VideoRenderer* renderer) {
- worker_thread()->Invoke<void>(Bind(
- &VideoMediaChannel::SetRenderer, media_channel(), ssrc, renderer));
+bool VideoChannel::SetSink(uint32_t ssrc,
+ rtc::VideoSinkInterface<VideoFrame>* sink) {
+ worker_thread()->Invoke<void>(
+ Bind(&VideoMediaChannel::SetSink, media_channel(), ssrc, sink));
return true;
}
« no previous file with comments | « talk/session/media/channel.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698