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

Unified Diff: talk/app/webrtc/rtpsenderreceiver_unittest.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/rtpsenderreceiver_unittest.cc
diff --git a/talk/app/webrtc/rtpsenderreceiver_unittest.cc b/talk/app/webrtc/rtpsenderreceiver_unittest.cc
index 3df9821c9adedf3e4d0e50049808ab5b0add26d7..2f8367fafabe06ccea4db120ce07d107aa13a9fb 100644
--- a/talk/app/webrtc/rtpsenderreceiver_unittest.cc
+++ b/talk/app/webrtc/rtpsenderreceiver_unittest.cc
@@ -88,7 +88,7 @@ class MockVideoProvider : public VideoProviderInterface {
MOCK_METHOD3(SetVideoPlayout,
void(uint32_t ssrc,
bool enable,
- cricket::VideoRenderer* renderer));
+ rtc::VideoSinkInterface<cricket::VideoFrame>* sink));
MOCK_METHOD3(SetVideoSend,
void(uint32_t ssrc,
bool enable,
@@ -181,7 +181,7 @@ class RtpSenderReceiverTest : public testing::Test {
AddVideoTrack(true);
EXPECT_CALL(video_provider_,
SetVideoPlayout(kVideoSsrc, true,
- video_track_->GetSource()->FrameInput()));
+ video_track_->GetSink()));
video_rtp_receiver_ = new VideoRtpReceiver(stream_->GetVideoTracks()[0],
kVideoSsrc, &video_provider_);
}

Powered by Google App Engine
This is Rietveld 408576698