优化加密识别

This commit is contained in:
nilaoda 2022-07-11 01:39:37 +08:00
parent 11b66df5e6
commit fd9d5382ba
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{