Skip to content

Commit 3f3bbc6

Browse files
grabofusavelad
andauthored
fix: Repeated initial segment load & cancellations (#7147)
Fixes #7146 --------- Co-authored-by: Álvaro Velad Galván <ladvan91@hotmail.com>
1 parent 4cff18d commit 3f3bbc6

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ Enson Choy <enson.choy@harmonicinc.com>
3939
Esteban Dosztal <edosztal@gmail.com>
4040
Fadomire <fadomire@gmail.com>
4141
Fernando Neira <slocomber@gmail.com>
42+
Gabor Balogh <grabomobil23@gmail.com>
4243
Gerardo Meola <meola.gerardo@gmail.com>
4344
Gil Gonen <gil.gonen@gmail.com>
4445
Giorgio Gamberoni <giorgio.gamberoni@gmail.com>

CONTRIBUTORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ Esteban Dosztal <edosztal@gmail.com>
5757
Fadomire <fadomire@gmail.com>
5858
Fernando Neira <slocomber@gmail.com>
5959
François Beaufort <fbeaufort@google.com>
60+
Gabor Balogh <grabomobil23@gmail.com>
6061
Gary Katsevman <git@gkatsev.com>
6162
Gerardo Meola <meola.gerardo@gmail.com>
6263
Gil Gonen <gil.gonen@gmail.com>

lib/media/video_wrapper.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,8 @@ shaka.media.VideoWrapper.PlayheadMover = class {
275275
}
276276

277277
// Yay! We were successful.
278-
if (this.mediaElement_.currentTime != this.originTime_) {
278+
if (this.mediaElement_.currentTime != this.originTime_ ||
279+
this.mediaElement_.currentTime === this.targetTime_) {
279280
this.timer_.stop();
280281
return;
281282
}

0 commit comments

Comments
 (0)