Skip to content

Commit

Permalink
修正Part分割
Browse files Browse the repository at this point in the history
  • Loading branch information
nilaoda committed Mar 25, 2023
1 parent 4dec850 commit 6bc4e7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/N_m3u8DL-RE.Parser/Extractor/HLSExtractor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ private async Task<Playlist> ParseListAsync()
continue;
}
//常规情况的#EXT-X-DISCONTINUITY标记,新建part
if (!hasAd && segments.Count > 1)
if (!hasAd && segments.Count >= 1)
{
mediaParts.Add(new MediaPart()
{
Expand Down

0 comments on commit 6bc4e7c

Please sign in to comment.