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

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: Remove unnecessary if 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
« no previous file with comments | « webrtc/video/video_receive_stream.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/video_renderer.h
diff --git a/webrtc/video_renderer.h b/webrtc/video_renderer.h
index fedd28b22edb15a9b9994fa70f3db4a29d76d1d7..621e7058254b4e83101bcd6a228cdc58b870ff58 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 SmoothsRenderedFrames() const { return false; }
+
protected:
virtual ~VideoRenderer() {}
};
« no previous file with comments | « webrtc/video/video_receive_stream.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698