Skip to content

Commit

Permalink
Update src/playlist-loader.js
Browse files Browse the repository at this point in the history
Co-authored-by: Garrett Singer <[email protected]>
  • Loading branch information
brandonocasey and gesinger authored May 25, 2021
1 parent 941881f commit 9288f11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/playlist-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ export const updateMaster = (master, newMedia, unchangedCheck = isPlaylistUnchan

const mergedPlaylist = mergeOptions(oldMedia, newMedia);

// always use the new medias preload segment.
// always use the new media's preload segment
if (mergedPlaylist.preloadSegment && !newMedia.preloadSegment) {
delete mergedPlaylist.preloadSegment;
}
Expand Down

0 comments on commit 9288f11

Please sign in to comment.