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

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: Pass bool into IncomingVideoStream, Remove thread in disabled case 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..28f553d17c87b09b56465d14a7ca736cb7ee5d38 100644
--- a/webrtc/video_renderer.h
+++ b/webrtc/video_renderer.h
@@ -25,6 +25,11 @@ class VideoRenderer {
virtual bool IsTextureSupported() const = 0;
+ // This function returns true if WebRTC should not delay frames for
+ // smoothness. In general, this case means the renderer can schedule frames to
+ // optimize smoothness.
+ virtual bool PrerendererSmoothingDisabled() const { return false; }
pbos 2015/11/24 13:14:40 Rename this ::SmoothsRenderedFrames() const, it sh
qiangchen 2015/11/25 01:03:20 Done.
+
protected:
virtual ~VideoRenderer() {}
};
« webrtc/common_video/incoming_video_stream.cc ('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