| 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 8c3f798fc4d7b2bc0275021f25b5a3a148436703..64fd1d0604f204b3acaa54d6846246ea71e1298f 100644
|
| --- a/content/renderer/media/android/webmediaplayer_android.cc
|
| +++ b/content/renderer/media/android/webmediaplayer_android.cc
|
| @@ -866,7 +866,7 @@ void WebMediaPlayerAndroid::OnPlaybackComplete() {
|
| // 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
|
| // playing after seek completes.
|
| - if (seeking_ && seek_time_.is_zero())
|
| + if (is_playing_ && seeking_ && seek_time_.is_zero())
|
| player_manager_->Start(player_id_);
|
| else
|
| playback_completed_ = true;
|
|
|