Index: content/renderer/media/android/webmediaplayer_android.cc |
diff --git a/content/renderer/media/android/webmediaplayer_android.cc b/content/renderer/media/android/webmediaplayer_android.cc |
index 2a38656ab6be6de1b38eebe2792234a1712bd711..3e26eccd6952492e75ad17b90c14015c1bf1643c 100644 |
--- a/content/renderer/media/android/webmediaplayer_android.cc |
+++ b/content/renderer/media/android/webmediaplayer_android.cc |
@@ -714,7 +714,7 @@ void WebMediaPlayerAndroid::OnPlaybackComplete() { |
// know that the playback has finished. To solve this, we set the |
// current time to media duration when OnPlaybackComplete() get called. |
interpolator_.SetBounds(duration_, duration_, default_tick_clock_.NowTicks()); |
- client_->timeChanged(); |
+ client_->timeChanged(true); |
// If the loop attribute is set, timeChanged() will update the current time |
// to 0. It will perform a seek to 0. Issue a command to the player to start |
@@ -755,7 +755,7 @@ void WebMediaPlayerAndroid::OnSeekComplete( |
UpdateReadyState(WebMediaPlayer::ReadyStateHaveEnoughData); |
- client_->timeChanged(); |
+ client_->timeChanged(playback_completed_); |
} |
void WebMediaPlayerAndroid::OnMediaError(int error_type) { |