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

Unified Diff: content/renderer/media/webmediaplayer_impl.h

Issue 24267018: Suppress redundant seeks to within same usec (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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
Index: content/renderer/media/webmediaplayer_impl.h
diff --git a/content/renderer/media/webmediaplayer_impl.h b/content/renderer/media/webmediaplayer_impl.h
index 270186bbbe5aad43fce9d7c4d3ee8a7c4977fab2..d118c3a9b62878bddfa1bbfa7df0279b882a6575 100644
--- a/content/renderer/media/webmediaplayer_impl.h
+++ b/content/renderer/media/webmediaplayer_impl.h
@@ -295,13 +295,14 @@ class WebMediaPlayerImpl
// SetPlaybackRate(0) is being executed.
bool paused_;
bool seeking_;
+ base::TimeDelta seek_time_;
double playback_rate_;
base::TimeDelta paused_time_;
// Seek gets pending if another seek is in progress. Only last pending seek
// will have effect.
bool pending_seek_;
- double pending_seek_seconds_;
+ base::TimeDelta pending_seek_time_;
WebKit::WebMediaPlayerClient* client_;
« no previous file with comments | « no previous file | content/renderer/media/webmediaplayer_impl.cc » ('j') | content/renderer/media/webmediaplayer_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698