优化加密识别
This commit is contained in:
parent
11b66df5e6
commit
fd9d5382ba
|
@ -365,7 +365,7 @@ namespace N_m3u8DL_RE.Parser.Extractor
|
||||||
}
|
}
|
||||||
|
|
||||||
//判断加密情况
|
//判断加密情况
|
||||||
if (adaptationSet.Elements().Any(e => e.Name.LocalName == "ContentProtection"))
|
if (adaptationSet.Elements().Concat(representation.Elements()).Any(e => e.Name.LocalName == "ContentProtection"))
|
||||||
{
|
{
|
||||||
if (streamSpec.Playlist.MediaInit != null)
|
if (streamSpec.Playlist.MediaInit != null)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue