Index: talk/app/webrtc/videotrack.cc |
diff --git a/talk/app/webrtc/videotrack.cc b/talk/app/webrtc/videotrack.cc |
index f1382400689bf6846f9df14e61b9cbe62502eb5a..81a99f419a59e481c6c53b6d1547c6e449561627 100644 |
--- a/talk/app/webrtc/videotrack.cc |
+++ b/talk/app/webrtc/videotrack.cc |
@@ -58,6 +58,11 @@ void VideoTrack::RemoveRenderer(VideoRendererInterface* renderer) { |
renderers_.RemoveRenderer(renderer); |
} |
+rtc::VideoSinkInterface<cricket::VideoFrame>* VideoTrack::GetSink() { |
+ RTC_DCHECK(video_source_->remote()); |
+ return &renderers_; |
pthatcher1
2016/02/03 16:24:29
As mentioned in the other CL, you could just imple
|
+} |
+ |
bool VideoTrack::set_enabled(bool enable) { |
renderers_.SetEnabled(enable); |
return MediaStreamTrack<VideoTrackInterface>::set_enabled(enable); |