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

Unified Diff: webrtc/video/replay.cc

Issue 1818023002: Delete class webrtc::VideoRenderer and its header file. (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
« no previous file with comments | « webrtc/video/receive_statistics_proxy.h ('k') | webrtc/video/video_capture_input.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/video/replay.cc
diff --git a/webrtc/video/replay.cc b/webrtc/video/replay.cc
index 3bfa7ff94975c6326259b93b0a88c2d15d5f6d1c..affd033ff9d88fa22524ce7847eeb6e9dbf0412d 100644
--- a/webrtc/video/replay.cc
+++ b/webrtc/video/replay.cc
@@ -136,9 +136,10 @@ static std::string Codec() { return static_cast<std::string>(FLAGS_codec); }
static const uint32_t kReceiverLocalSsrc = 0x123456;
-class FileRenderPassthrough : public VideoRenderer {
+class FileRenderPassthrough : public rtc::VideoSinkInterface<VideoFrame> {
public:
- FileRenderPassthrough(const std::string& basename, VideoRenderer* renderer)
+ FileRenderPassthrough(const std::string& basename,
+ rtc::VideoSinkInterface<VideoFrame>* renderer)
: basename_(basename),
renderer_(renderer),
file_(nullptr),
@@ -182,7 +183,7 @@ class FileRenderPassthrough : public VideoRenderer {
}
const std::string basename_;
- VideoRenderer* const renderer_;
+ rtc::VideoSinkInterface<VideoFrame>* const renderer_;
FILE* file_;
size_t count_;
int last_width_;
« no previous file with comments | « webrtc/video/receive_statistics_proxy.h ('k') | webrtc/video/video_capture_input.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698