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

Unified Diff: webrtc/api/videotracksource.h

Issue 2471783002: Revert of Delete all use of cricket::VideoFrame and cricket::WebRtcVideoFrame. (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « webrtc/api/videotrack_unittest.cc ('k') | webrtc/api/videotracksource.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/videotracksource.h
diff --git a/webrtc/api/videotracksource.h b/webrtc/api/videotracksource.h
index 330af2332e6ec500831a67c04d8e5c35a66fd5d2..67e764fd40e5ad48f45d5fc746027263b408ae4b 100644
--- a/webrtc/api/videotracksource.h
+++ b/webrtc/api/videotracksource.h
@@ -22,7 +22,8 @@
class VideoTrackSource : public Notifier<VideoTrackSourceInterface> {
public:
- VideoTrackSource(rtc::VideoSourceInterface<VideoFrame>* source, bool remote);
+ VideoTrackSource(rtc::VideoSourceInterface<cricket::VideoFrame>* source,
+ bool remote);
void SetState(SourceState new_state);
// OnSourceDestroyed clears this instance pointer to |source_|. It is useful
// when the underlying rtc::VideoSourceInterface is destroyed before the
@@ -38,13 +39,13 @@
bool GetStats(Stats* stats) override { return false; }
- void AddOrUpdateSink(rtc::VideoSinkInterface<VideoFrame>* sink,
+ void AddOrUpdateSink(rtc::VideoSinkInterface<cricket::VideoFrame>* sink,
const rtc::VideoSinkWants& wants) override;
- void RemoveSink(rtc::VideoSinkInterface<VideoFrame>* sink) override;
+ void RemoveSink(rtc::VideoSinkInterface<cricket::VideoFrame>* sink) override;
private:
rtc::ThreadChecker worker_thread_checker_;
- rtc::VideoSourceInterface<VideoFrame>* source_;
+ rtc::VideoSourceInterface<cricket::VideoFrame>* source_;
cricket::VideoOptions options_;
SourceState state_;
const bool remote_;
« no previous file with comments | « webrtc/api/videotrack_unittest.cc ('k') | webrtc/api/videotracksource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698