Skip to content

Commit 52e1549

Browse files
committed
add additional condition
should allow tests to pass now
1 parent 00951c4 commit 52e1549

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/dash-playlist-loader.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ const dashPlaylistUnchanged = function(a, b) {
2828
// derive media sequence for timeshift manifests without startNumber attribute
2929
if (
3030
b.mediaSequence === 1 &&
31+
b.mediaSequence <= a.mediaSequence &&
3132
a.segments &&
3233
b.segments &&
3334
a.segments.length &&

0 commit comments

Comments
 (0)