mirror of
https://github.com/NohamR/N_m3u8DL-RE.git
synced 2025-05-25 14:51:52 +00:00
修正init byterange识别
This commit is contained in:
parent
1f3acf8636
commit
dd4577b4cf
@ -377,8 +377,8 @@ namespace N_m3u8DL_RE.Parser.Extractor
|
||||
{
|
||||
var p = ParserUtil.GetAttribute(line, "BYTERANGE");
|
||||
var (n, o) = ParserUtil.GetRange(p);
|
||||
segment.ExpectLength = n;
|
||||
segment.StartRange = o ?? 0L;
|
||||
playlist.MediaInit.ExpectLength = n;
|
||||
playlist.MediaInit.StartRange = o ?? 0L;
|
||||
}
|
||||
}
|
||||
//遇到了其他的map,说明已经不是一个视频了,全部丢弃即可
|
||||
|
Loading…
x
Reference in New Issue
Block a user