Update SimpleLiveRecordManager2.cs

This commit is contained in:
nilaoda 2022-09-28 00:04:26 +08:00
parent ed4f24a477
commit cca807b2c1
1 changed files with 1 additions and 1 deletions

View File

@ -600,7 +600,7 @@ namespace N_m3u8DL_RE.DownloadManager
ConcurrentDictionary<int, SpeedContainer> SpeedContainerDic = new(); //速度计算
ConcurrentDictionary<StreamSpec, bool?> Results = new();
//取最后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 part in item.Playlist!.MediaParts)