Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1226)

Unified Diff: talk/app/webrtc/rtpreceiver.cc

Issue 1664773002: Added VideoTrackInterface::GetSink method, for use by VideoRtpReceiver. Get rid of FrameInput. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Delete FrameInput method and FrameInputWrapper class. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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());
pthatcher1 2016/02/03 16:24:29 As mentioned in the other CL, being able to just p
}
VideoRtpReceiver::~VideoRtpReceiver() {

Powered by Google App Engine
This is Rietveld 408576698