修复mimeType识别问题
This commit is contained in:
parent
09379d60cd
commit
e57f95da96
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue