From 386c923802cbed78423f48f38bd14384ea6e01b1 Mon Sep 17 00:00:00 2001 From: nilaoda Date: Sun, 10 Jul 2022 03:02:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AD=A3=E7=A1=AE=E5=86=99=E5=85=A5Index?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs b/src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs index 8cd2e29..cf7853e 100644 --- a/src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs +++ b/src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs @@ -230,6 +230,7 @@ namespace N_m3u8DL_RE.Parser.Extractor MediaSegment mediaSegment = new(); mediaSegment.Duration = Convert.ToDouble(duration); mediaSegment.Url = PreProcessUrl(mediaUrl); + mediaSegment.Index = segmentIndex; if (mediaRange != null) { var (start, expect) = ParserUtil.ParseRange(mediaRange);