Index: webrtc/api/rtpsender.cc |
diff --git a/webrtc/api/rtpsender.cc b/webrtc/api/rtpsender.cc |
index 1ca8fc1d0a8e16034772f567164367bcfecd7439..c5db92946d200ab0d643107cfa871fe4e6c519a6 100644 |
--- a/webrtc/api/rtpsender.cc |
+++ b/webrtc/api/rtpsender.cc |
@@ -268,7 +268,7 @@ bool VideoRtpSender::SetTrack(MediaStreamTrackInterface* track) { |
// Update video provider. |
if (can_send_track()) { |
- VideoSourceInterface* source = track_->GetSource(); |
+ VideoTrackSourceInterface* source = track_->GetSource(); |
// TODO(deadbeef): If SetTrack is called with a disabled track, and the |
// previous track was enabled, this could cause a frame from the new track |
// to slip out. Really, what we need is for SetCaptureDevice and |
@@ -296,7 +296,7 @@ void VideoRtpSender::SetSsrc(uint32_t ssrc) { |
} |
ssrc_ = ssrc; |
if (can_send_track()) { |
- VideoSourceInterface* source = track_->GetSource(); |
+ VideoTrackSourceInterface* source = track_->GetSource(); |
provider_->SetCaptureDevice(ssrc_, |
source ? source->GetVideoCapturer() : nullptr); |
SetVideoSend(); |
@@ -321,7 +321,7 @@ void VideoRtpSender::Stop() { |
void VideoRtpSender::SetVideoSend() { |
RTC_DCHECK(!stopped_ && can_send_track()); |
const cricket::VideoOptions* options = nullptr; |
- VideoSourceInterface* source = track_->GetSource(); |
+ VideoTrackSourceInterface* source = track_->GetSource(); |
if (track_->enabled() && source) { |
options = source->options(); |
} |