| Index: webrtc/pc/channel.cc
|
| diff --git a/webrtc/pc/channel.cc b/webrtc/pc/channel.cc
|
| index 7e4d5d2dac1e9596566fc591ef992519616f8594..3190e98a606b27a73cc7b6d4711b70d18a9b7b09 100644
|
| --- a/webrtc/pc/channel.cc
|
| +++ b/webrtc/pc/channel.cc
|
| @@ -1807,18 +1807,13 @@ bool VideoChannel::SetSink(uint32_t ssrc,
|
| return true;
|
| }
|
|
|
| -void VideoChannel::SetSource(
|
| +bool VideoChannel::SetVideoSend(
|
| uint32_t ssrc,
|
| + bool mute,
|
| + const VideoOptions* options,
|
| rtc::VideoSourceInterface<cricket::VideoFrame>* source) {
|
| - worker_thread()->Invoke<void>(
|
| - Bind(&VideoMediaChannel::SetSource, media_channel(), ssrc, source));
|
| -}
|
| -
|
| -bool VideoChannel::SetVideoSend(uint32_t ssrc,
|
| - bool mute,
|
| - const VideoOptions* options) {
|
| return InvokeOnWorker(Bind(&VideoMediaChannel::SetVideoSend, media_channel(),
|
| - ssrc, mute, options));
|
| + ssrc, mute, options, source));
|
| }
|
|
|
| webrtc::RtpParameters VideoChannel::GetRtpParameters(uint32_t ssrc) const {
|
|
|