优化MPD自动选择码率问题 #187
This commit is contained in:
parent
4ed0a3210e
commit
e7e3efec00
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue