Skip to content

Commit

Permalink
fix: Fix support of getAllThumbnails when using DASH multi-period (#6464
Browse files Browse the repository at this point in the history
)

Fixes #6461

---------

Co-authored-by: Wojciech Tyczyński <[email protected]>
  • Loading branch information
avelad and tykus160 authored Apr 22, 2024
1 parent 3ed91db commit 6905c74
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/media/segment_index.js
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,16 @@ shaka.media.MetaSegmentIndex = class extends shaka.media.SegmentIndex {
this.indexes_ = [];
}

/**
* @override
* @export
*/
forEachTopLevelReference(fn) {
for (const index of this.indexes_) {
index.forEachTopLevelReference(fn);
}
}

/**
* @override
* @export
Expand Down

0 comments on commit 6905c74

Please sign in to comment.