Skip to content

Commit

Permalink
Ignore #EXT-X-INDEPENDENT-SEGMENTS (#6047)
Browse files Browse the repository at this point in the history
Fixes #6039
  • Loading branch information
robwalch committed Dec 16, 2023
1 parent b7aaa0a commit 9cdbf56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/loader/m3u8-parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ const LEVEL_PLAYLIST_REGEX_SLOW = new RegExp(
/#(EXTM3U)/.source,
/#EXT-X-(DATERANGE|DEFINE|KEY|MAP|PART|PART-INF|PLAYLIST-TYPE|PRELOAD-HINT|RENDITION-REPORT|SERVER-CONTROL|SKIP|START):(.+)/
.source,
/#EXT-X-(BITRATE|DISCONTINUITY-SEQUENCE|MEDIA-SEQUENCE|TARGETDURATION|VERSION|INDEPENDENT-SEGMENTS): *(\d+)/
/#EXT-X-(BITRATE|DISCONTINUITY-SEQUENCE|MEDIA-SEQUENCE|TARGETDURATION|VERSION): *(\d+)/
.source,
/#EXT-X-(DISCONTINUITY|ENDLIST|GAP)/.source,
/#EXT-X-(DISCONTINUITY|ENDLIST|GAP|INDEPENDENT-SEGMENTS)/.source,
/(#)([^:]*):(.*)/.source,
/(#)(.*)(?:.*)\r?\n?/.source,
].join('|'),
Expand Down

0 comments on commit 9cdbf56

Please sign in to comment.