优化MPD自动选择码率问题 #187

This commit is contained in:
nilaoda 2023-06-11 19:38:37 +08:00
parent 4ed0a3210e
commit e7e3efec00
1 changed files with 2 additions and 2 deletions

View File

@ -509,11 +509,11 @@ namespace N_m3u8DL_RE.Parser.Extractor
{ {
if (aL.Any()) if (aL.Any())
{ {
item.AudioId = aL.First().GroupId; item.AudioId = aL.OrderByDescending(x => x.Bandwidth).First().GroupId;
} }
if (sL.Any()) if (sL.Any())
{ {
item.SubtitleId = sL.First().GroupId; item.SubtitleId = sL.OrderByDescending(x => x.Bandwidth).First().GroupId;
} }
} }
} }