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

Unified Diff: webrtc/modules/video_render/linux/video_x11_channel.h

Issue 1813173002: Deletes the class VideoRendererCallback. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase, and tweak of DEPS files. 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/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);

Powered by Google App Engine
This is Rietveld 408576698