Index: talk/app/webrtc/videotrack.cc |
diff --git a/talk/app/webrtc/videotrack.cc b/talk/app/webrtc/videotrack.cc |
index f1382400689bf6846f9df14e61b9cbe62502eb5a..c649275fae268e388eb245f2fc5dac7f2ae999f4 100644 |
--- a/talk/app/webrtc/videotrack.cc |
+++ b/talk/app/webrtc/videotrack.cc |
@@ -58,6 +58,10 @@ void VideoTrack::RemoveRenderer(VideoRendererInterface* renderer) { |
renderers_.RemoveRenderer(renderer); |
} |
+rtc::VideoSinkInterface<cricket::VideoFrame>* VideoTrack::GetSink() { |
+ return &renderers_; |
+} |
+ |
bool VideoTrack::set_enabled(bool enable) { |
renderers_.SetEnabled(enable); |
return MediaStreamTrack<VideoTrackInterface>::set_enabled(enable); |