Index: webrtc/pc/channel.cc |
diff --git a/webrtc/pc/channel.cc b/webrtc/pc/channel.cc |
index 8e916f12793802f245313b3c088050b128961cdc..bcd6976c4a7cc7403f11064a1e80bed56437beb8 100644 |
--- a/webrtc/pc/channel.cc |
+++ b/webrtc/pc/channel.cc |
@@ -1675,9 +1675,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, |