From 9288f11af521238a3e3bca0bc2f02fdd442c64ee Mon Sep 17 00:00:00 2001 From: Brandon Casey <2381475+brandonocasey@users.noreply.github.com> Date: Tue, 25 May 2021 15:41:40 -0400 Subject: [PATCH] Update src/playlist-loader.js Co-authored-by: Garrett Singer --- src/playlist-loader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/playlist-loader.js b/src/playlist-loader.js index 2e30c1989..b506df8f4 100644 --- a/src/playlist-loader.js +++ b/src/playlist-loader.js @@ -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; }