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

Unified Diff: media/renderers/video_renderer_impl.h

Issue 1135143002: Partially revert change to not post AttemptRead() every Render(). (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « no previous file | media/renderers/video_renderer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/renderers/video_renderer_impl.h
diff --git a/media/renderers/video_renderer_impl.h b/media/renderers/video_renderer_impl.h
index d174c8ad2bdd67447fe38a1040a88ef234c3dadd..032a52d0154cf671f4718353e4c03f7674330b33 100644
--- a/media/renderers/video_renderer_impl.h
+++ b/media/renderers/video_renderer_impl.h
@@ -135,11 +135,8 @@ class MEDIA_EXPORT VideoRendererImpl
// false it Stop() on |sink_|.
void MaybeStopSinkAfterFirstPaint();
- // Returns true if there is no more room for additional buffered frames. The
- // overloaded method is the same, but allows skipping an internal call to
- // EffectiveFramesQueued() if that value is already known.
+ // Returns true if there is no more room for additional buffered frames.
bool HaveReachedBufferingCap();
- bool HaveReachedBufferingCap(size_t effective_frames);
// Starts or stops |sink_| respectively. Do not call while |lock_| is held.
void StartSink();
« no previous file with comments | « no previous file | media/renderers/video_renderer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698