Index: webrtc/pc/channel.cc |
diff --git a/webrtc/pc/channel.cc b/webrtc/pc/channel.cc |
index b76d7bdb1d2d4e72314b23c98ff4171f855e9672..3db6749764df0080b3fbeaf6c701be8af789d2fc 100644 |
--- a/webrtc/pc/channel.cc |
+++ b/webrtc/pc/channel.cc |
@@ -1694,9 +1694,11 @@ bool VideoChannel::SetSink(uint32_t ssrc, |
return true; |
} |
-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::SetVideoSend(uint32_t ssrc, |