Skip to content

Commit

Permalink
comment change
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonocasey committed May 17, 2021
1 parent e9b73cb commit a61d7f2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/segment-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -2096,8 +2096,7 @@ export default class SegmentLoader extends videojs.EventTarget {
// we can re-append the init segment in the event that we get data from a new
// playlist. Discontinuities and track changes are handled in other sections.
this.playlistOfLastInitSegment_[type] = playlist;
// we should only be appending the next init segment if we detect a change, or if
// the segment has a map
// Disable future init segment appends for this type. Until a change is necessary.
this.appendInitSegment_[type] = false;

// we need to clear out the fmp4 active init segment id, since
Expand Down

0 comments on commit a61d7f2

Please sign in to comment.