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);