Update SimpleLiveRecordManager2.cs
This commit is contained in:
parent
ed4f24a477
commit
cca807b2c1
|
@ -600,7 +600,7 @@ namespace N_m3u8DL_RE.DownloadManager
|
||||||
ConcurrentDictionary<int, SpeedContainer> SpeedContainerDic = new(); //速度计算
|
ConcurrentDictionary<int, SpeedContainer> SpeedContainerDic = new(); //速度计算
|
||||||
ConcurrentDictionary<StreamSpec, bool?> Results = new();
|
ConcurrentDictionary<StreamSpec, bool?> Results = new();
|
||||||
//取最后15个分片
|
//取最后15个分片
|
||||||
var minIndex = SelectedSteams.Max(s => s.Playlist!.MediaParts.Min(p => p.MediaSegments.Min(s => s.Index)));
|
var minIndex = SelectedSteams.Max(s => s.Playlist!.MediaParts[0].MediaSegments.Min(s => s.Index));
|
||||||
foreach (var item in SelectedSteams)
|
foreach (var item in SelectedSteams)
|
||||||
{
|
{
|
||||||
foreach (var part in item.Playlist!.MediaParts)
|
foreach (var part in item.Playlist!.MediaParts)
|
||||||
|
|
Loading…
Reference in New Issue