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

Unified Diff: webrtc/api/videotrack.h

Issue 1770003002: Renamed VideoSourceInterface to VideoTrackSourceInterface. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased Created 4 years, 9 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: webrtc/api/videotrack.h
diff --git a/webrtc/api/videotrack.h b/webrtc/api/videotrack.h
index 1964cb48988ad7129477f3ccedcda3623b6b67e6..066aa90a36c34953b639cdf4117979c6eda5b147 100644
--- a/webrtc/api/videotrack.h
+++ b/webrtc/api/videotrack.h
@@ -22,14 +22,15 @@ namespace webrtc {
class VideoTrack : public MediaStreamTrack<VideoTrackInterface> {
public:
- static rtc::scoped_refptr<VideoTrack> Create(const std::string& label,
- VideoSourceInterface* source);
+ static rtc::scoped_refptr<VideoTrack> Create(
+ const std::string& label,
+ VideoTrackSourceInterface* source);
void AddOrUpdateSink(rtc::VideoSinkInterface<cricket::VideoFrame>* sink,
const rtc::VideoSinkWants& wants) override;
void RemoveSink(rtc::VideoSinkInterface<cricket::VideoFrame>* sink) override;
- virtual VideoSourceInterface* GetSource() const {
+ virtual VideoTrackSourceInterface* GetSource() const {
return video_source_.get();
}
rtc::VideoSinkInterface<cricket::VideoFrame>* GetSink() override;
@@ -37,12 +38,12 @@ class VideoTrack : public MediaStreamTrack<VideoTrackInterface> {
virtual std::string kind() const;
protected:
- VideoTrack(const std::string& id, VideoSourceInterface* video_source);
+ VideoTrack(const std::string& id, VideoTrackSourceInterface* video_source);
~VideoTrack();
private:
VideoTrackRenderers renderers_;
- rtc::scoped_refptr<VideoSourceInterface> video_source_;
+ rtc::scoped_refptr<VideoTrackSourceInterface> video_source_;
};
} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698