修复mimeType识别问题

This commit is contained in:
nilaoda 2022-07-18 23:35:18 +08:00
parent 09379d60cd
commit e57f95da96
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ namespace N_m3u8DL_RE.Parser.Extractor
if (mimeType == null) if (mimeType == null)
{ {
mimeType = representation.Attribute("contentType")?.Value ?? adaptationSet.Attribute("mimeType")?.Value ?? ""; mimeType = representation.Attribute("contentType")?.Value ?? representation.Attribute("mimeType")?.Value ?? "";
} }
var bandwidth = representation.Attribute("bandwidth"); var bandwidth = representation.Attribute("bandwidth");
StreamSpec streamSpec = new(); StreamSpec streamSpec = new();