Index: talk/app/webrtc/rtpreceiver.cc |
diff --git a/talk/app/webrtc/rtpreceiver.cc b/talk/app/webrtc/rtpreceiver.cc |
index 9540f36f2f68ac03c3c11aa1de19ef787ff62006..34efe5c415c703f0b3982e528c40e057317c4c47 100644 |
--- a/talk/app/webrtc/rtpreceiver.cc |
+++ b/talk/app/webrtc/rtpreceiver.cc |
@@ -86,8 +86,7 @@ VideoRtpReceiver::VideoRtpReceiver(VideoTrackInterface* track, |
uint32_t ssrc, |
VideoProviderInterface* provider) |
: id_(track->id()), track_(track), ssrc_(ssrc), provider_(provider) { |
- RTC_DCHECK(track_->GetSource()->remote()); |
- provider_->SetVideoPlayout(ssrc_, true, track_->GetSource()->FrameInput()); |
+ provider_->SetVideoPlayout(ssrc_, true, track_->GetSink()); |
} |
VideoRtpReceiver::~VideoRtpReceiver() { |