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: |