Index: webrtc/pc/channel.cc |
diff --git a/webrtc/pc/channel.cc b/webrtc/pc/channel.cc |
index 1d5d159d05fd786eafc6fb909fb96298d64e3c52..41a3d02eccd206445a3b43928274c2a7327d8a90 100644 |
--- a/webrtc/pc/channel.cc |
+++ b/webrtc/pc/channel.cc |
@@ -1673,9 +1673,11 @@ bool VideoChannel::AddScreencast(uint32_t ssrc, VideoCapturer* capturer) { |
&VideoChannel::AddScreencast_w, this, ssrc, capturer)); |
} |
-bool VideoChannel::SetCapturer(uint32_t ssrc, VideoCapturer* capturer) { |
- return InvokeOnWorker(Bind(&VideoMediaChannel::SetCapturer, |
- media_channel(), ssrc, capturer)); |
+void VideoChannel::SetSource( |
+ uint32_t ssrc, |
+ rtc::VideoSourceInterface<cricket::VideoFrame>* source) { |
+ worker_thread()->Invoke<void>(Bind(&VideoMediaChannel::SetSource, |
+ media_channel(), ssrc, source)); |
} |
bool VideoChannel::RemoveScreencast(uint32_t ssrc) { |