Index: webrtc/api/mediastreamprovider.h |
diff --git a/webrtc/api/mediastreamprovider.h b/webrtc/api/mediastreamprovider.h |
index eef92846cbd15c47ce3014f9da8c518c6130cf71..304f0e58d717e71a51a08a16b6f89e3cf98a7add 100644 |
--- a/webrtc/api/mediastreamprovider.h |
+++ b/webrtc/api/mediastreamprovider.h |
@@ -76,18 +76,18 @@ class AudioProviderInterface { |
// of a video track connected to a certain PeerConnection. |
class VideoProviderInterface { |
public: |
- virtual bool SetSource( |
- uint32_t ssrc, |
- rtc::VideoSourceInterface<cricket::VideoFrame>* source) = 0; |
// Enable/disable the video playout of a remote video track with |ssrc|. |
virtual void SetVideoPlayout( |
uint32_t ssrc, |
bool enable, |
rtc::VideoSinkInterface<cricket::VideoFrame>* sink) = 0; |
- // Enable sending video on the local video track with |ssrc|. |
- virtual void SetVideoSend(uint32_t ssrc, |
- bool enable, |
- const cricket::VideoOptions* options) = 0; |
+ // Enable/disable sending video on the local video track with |ssrc|. |
+ // TODO(deadbeef): Make |options| a reference parameter. |
+ virtual void SetVideoSend( |
+ uint32_t ssrc, |
+ bool enable, |
+ const cricket::VideoOptions* options, |
+ rtc::VideoSourceInterface<cricket::VideoFrame>* source) = 0; |
virtual RtpParameters GetVideoRtpParameters(uint32_t ssrc) const = 0; |
virtual bool SetVideoRtpParameters(uint32_t ssrc, |