| Index: media/blink/webmediaplayer_impl.cc
|
| diff --git a/media/blink/webmediaplayer_impl.cc b/media/blink/webmediaplayer_impl.cc
|
| index e45cd648575e075f2ac993ac0199e9ca82227a3d..4fa8e7663fe67b9d25766a397a0710458ec13b83 100644
|
| --- a/media/blink/webmediaplayer_impl.cc
|
| +++ b/media/blink/webmediaplayer_impl.cc
|
| @@ -989,6 +989,10 @@ void WebMediaPlayerImpl::OnPipelineSeeked(bool time_updated) {
|
| }
|
| if (time_updated)
|
| should_notify_time_changed_ = true;
|
| +
|
| + // Reset underflow count upon seek; this prevents looping videos and user
|
| + // actions from artificially inflating the underflow count.
|
| + underflow_count_ = 0;
|
| }
|
|
|
| void WebMediaPlayerImpl::OnPipelineSuspended() {
|
|
|