From 6bc4e7c8612ac2a9e3b89c367c1c70dd61d0b4b2 Mon Sep 17 00:00:00 2001 From: nilaoda Date: Sat, 25 Mar 2023 23:16:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3`Part`=E5=88=86=E5=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/N_m3u8DL-RE.Parser/Extractor/HLSExtractor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/N_m3u8DL-RE.Parser/Extractor/HLSExtractor.cs b/src/N_m3u8DL-RE.Parser/Extractor/HLSExtractor.cs index 0bb55fd..4f49da6 100644 --- a/src/N_m3u8DL-RE.Parser/Extractor/HLSExtractor.cs +++ b/src/N_m3u8DL-RE.Parser/Extractor/HLSExtractor.cs @@ -304,7 +304,7 @@ namespace N_m3u8DL_RE.Parser.Extractor continue; } //常规情况的#EXT-X-DISCONTINUITY标记,新建part - if (!hasAd && segments.Count > 1) + if (!hasAd && segments.Count >= 1) { mediaParts.Add(new MediaPart() {