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

Unified Diff: webrtc/modules/video_render/mac/video_render_agl.h

Issue 1813173002: Deletes the class VideoRendererCallback. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Break long lines. Add explicit keyword on IncomingVideoStream constructor. 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/modules/video_render/mac/video_render_agl.h
diff --git a/webrtc/modules/video_render/mac/video_render_agl.h b/webrtc/modules/video_render/mac/video_render_agl.h
index c0a60597e98613d22ba1581a096cbd46e02f5466..323a1b4648268d78a928446617c360ea59711884 100644
--- a/webrtc/modules/video_render/mac/video_render_agl.h
+++ b/webrtc/modules/video_render/mac/video_render_agl.h
@@ -37,7 +37,7 @@ namespace webrtc {
class CriticalSectionWrapper;
class EventWrapper;
-class VideoChannelAGL : public VideoRenderCallback {
+class VideoChannelAGL : public rtc::VideoSinkInterface<VideoFrame> {
public:
VideoChannelAGL(AGLContext& aglContext, int iId, VideoRenderAGL* owner);
@@ -52,7 +52,7 @@ class VideoChannelAGL : public VideoRenderCallback {
int RenderOffScreenBuffer();
int IsUpdated(bool& isUpdated);
virtual int UpdateStretchSize(int stretchHeight, int stretchWidth);
- virtual int32_t RenderFrame(const uint32_t streamId, VideoFrame& videoFrame);
+ virtual void OnFrame(const VideoFrame& videoFrame);
mflodman 2016/05/02 07:06:55 Add comment: // Implements rtc::VideoSinkInterface
private:

Powered by Google App Engine
This is Rietveld 408576698