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

Unified Diff: webrtc/video_renderer.h

Issue 1419673014: Remove frame time scheduing in IncomingVideoStream (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase Created 5 years, 1 month 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/video_renderer.h
diff --git a/webrtc/video_renderer.h b/webrtc/video_renderer.h
index fedd28b22edb15a9b9994fa70f3db4a29d76d1d7..f407cb4d2b3fec018cd15d7cd50d7b1f2867ed94 100644
--- a/webrtc/video_renderer.h
+++ b/webrtc/video_renderer.h
@@ -25,6 +25,10 @@ class VideoRenderer {
virtual bool IsTextureSupported() const = 0;
+ // This function returns true if the renderer has the ability to schedule
+ // frames for rendering smoothness.
+ virtual bool CanScheduleFrame() const { return false; }
+
protected:
virtual ~VideoRenderer() {}
};
« talk/media/webrtc/webrtcvideoengine2.h ('K') | « webrtc/video/video_receive_stream.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698