Index: webrtc/modules/video_render/linux/video_x11_channel.h |
diff --git a/webrtc/modules/video_render/linux/video_x11_channel.h b/webrtc/modules/video_render/linux/video_x11_channel.h |
index 6eb402e12eeab77fe07c4bec70f346033af1587c..99cfa229380efc19d83e325da63ae32e6024bf64 100644 |
--- a/webrtc/modules/video_render/linux/video_x11_channel.h |
+++ b/webrtc/modules/video_render/linux/video_x11_channel.h |
@@ -26,15 +26,14 @@ class CriticalSectionWrapper; |
#define DEFAULT_RENDER_FRAME_HEIGHT 288 |
-class VideoX11Channel: public VideoRenderCallback |
+class VideoX11Channel: public rtc::VideoSinkInterface<VideoFrame> |
{ |
public: |
VideoX11Channel(int32_t id); |
virtual ~VideoX11Channel(); |
- virtual int32_t RenderFrame(const uint32_t streamId, |
- const VideoFrame& videoFrame); |
+ void OnFrame(const VideoFrame& videoFrame) override; |
int32_t FrameSizeChange(int32_t width, int32_t height, |
int32_t numberOfStreams); |