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

Unified Diff: media/base/android/media_source_player.cc

Issue 545993002: Provide fine grained media playback time thru interpolation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase again Created 6 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
« no previous file with comments | « media/base/android/media_player_manager.h ('k') | media/base/android/media_source_player_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/android/media_source_player.cc
diff --git a/media/base/android/media_source_player.cc b/media/base/android/media_source_player.cc
index 2635b6f278be31026f18641401ed6262ec58b1d2..bad50cf42d9b1fabe2b20c63c5069a8c9a55cf2e 100644
--- a/media/base/android/media_source_player.cc
+++ b/media/base/android/media_source_player.cc
@@ -358,7 +358,9 @@ void MediaSourcePlayer::UpdateTimestamps(
base::TimeDelta max_presentation_timestamp) {
interpolator_.SetBounds(current_presentation_timestamp,
max_presentation_timestamp);
- manager()->OnTimeUpdate(player_id(), GetCurrentTime());
+ manager()->OnTimeUpdate(player_id(),
+ GetCurrentTime(),
+ base::TimeTicks::Now());
}
void MediaSourcePlayer::ProcessPendingEvents() {
« no previous file with comments | « media/base/android/media_player_manager.h ('k') | media/base/android/media_source_player_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698