Skip to content

Commit

Permalink
fix: Repeated initial segment load & cancellations (#7147)
Browse files Browse the repository at this point in the history
Fixes #7146

---------

Co-authored-by: Álvaro Velad Galván <[email protected]>
  • Loading branch information
grabofus and avelad committed Aug 19, 2024
1 parent 403574f commit e62c0b2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ Enson Choy <[email protected]>
Esteban Dosztal <[email protected]>
Fadomire <[email protected]>
Fernando Neira <[email protected]>
Gabor Balogh <[email protected]>
Gerardo Meola <[email protected]>
Gil Gonen <[email protected]>
Giorgio Gamberoni <[email protected]>
Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ Esteban Dosztal <[email protected]>
Fadomire <[email protected]>
Fernando Neira <[email protected]>
François Beaufort <[email protected]>
Gabor Balogh <[email protected]>
Gary Katsevman <[email protected]>
Gerardo Meola <[email protected]>
Gil Gonen <[email protected]>
Expand Down
3 changes: 2 additions & 1 deletion lib/media/video_wrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,8 @@ shaka.media.VideoWrapper.PlayheadMover = class {
}

// Yay! We were successful.
if (this.mediaElement_.currentTime != this.originTime_) {
if (this.mediaElement_.currentTime != this.originTime_ ||
this.mediaElement_.currentTime === this.targetTime_) {
this.timer_.stop();
return;
}
Expand Down

0 comments on commit e62c0b2

Please sign in to comment.