From fd9d5382baaf3e5c0a57f09a93643a4fa5d4b34d Mon Sep 17 00:00:00 2001 From: nilaoda Date: Mon, 11 Jul 2022 01:39:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=8A=A0=E5=AF=86=E8=AF=86?= =?UTF-8?q?=E5=88=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs b/src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs index be8f59f..956d9a1 100644 --- a/src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs +++ b/src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs @@ -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) {