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

Unified Diff: media/base/android/media_player_bridge.h

Issue 654203005: Skip initial seek to 0 on fling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/base/android/media_player_bridge.cc » ('j') | media/base/android/media_player_bridge.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/android/media_player_bridge.h
diff --git a/media/base/android/media_player_bridge.h b/media/base/android/media_player_bridge.h
index 928b94ba4e354b035ee89b550e2780a74b5af932..f353d531cf7ae265537c152036c15e2230bc4b04 100644
--- a/media/base/android/media_player_bridge.h
+++ b/media/base/android/media_player_bridge.h
@@ -142,7 +142,7 @@ class MEDIA_EXPORT MediaPlayerBridge : public MediaPlayerAndroid {
bool pending_play_;
// Pending seek time while player is preparing.
- base::TimeDelta pending_seek_;
+ base::TimeDelta pending_seek_ = base::TimeDelta::FromMilliseconds(-1);
aberent 2014/10/20 14:55:55 Better in initializer of constructor. The coding s
dgn 2014/10/20 15:43:20 Done.
// Url for playback.
GURL url_;
« no previous file with comments | « no previous file | media/base/android/media_player_bridge.cc » ('j') | media/base/android/media_player_bridge.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698