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

Unified Diff: media/filters/video_renderer_impl.h

Issue 475863002: VideoRendererImpl: Delay report of BUFFERING_HAVE_NOTHING. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address CR comments Created 6 years, 4 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/filters/video_renderer_impl.cc » ('j') | media/filters/video_renderer_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/video_renderer_impl.h
diff --git a/media/filters/video_renderer_impl.h b/media/filters/video_renderer_impl.h
index eef3d0b194fb01a38fcdf9a56bd1a9b22b5417c4..181beb57d503cdaa43f34048594c006fcb1cf403 100644
--- a/media/filters/video_renderer_impl.h
+++ b/media/filters/video_renderer_impl.h
@@ -198,6 +198,10 @@ class MEDIA_EXPORT VideoRendererImpl
// during flushing.
base::TimeDelta last_timestamp_;
+ // The timestamp of the last successfully painted frame. Set to kNoTimestamp()
+ // during flushing.
+ base::TimeDelta last_painted_timestamp_;
+
// Keeps track of the number of frames decoded and dropped since the
// last call to |statistics_cb_|. These must be accessed under lock.
int frames_decoded_;
« no previous file with comments | « no previous file | media/filters/video_renderer_impl.cc » ('j') | media/filters/video_renderer_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698