From 09d9f0e320213f56dbde3c45a7efb3bf8ae6a1c7 Mon Sep 17 00:00:00 2001 From: nilaoda Date: Fri, 29 Nov 2024 00:48:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3ShakaPackager=E6=9E=9A?= =?UTF-8?q?=E4=B8=BE=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/N_m3u8DL-RE/CommandLine/MyOption.cs | 2 +- src/N_m3u8DL-RE/Enum/DecryptEngine.cs | 2 +- src/N_m3u8DL-RE/Util/MP4DecryptUtil.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/N_m3u8DL-RE/CommandLine/MyOption.cs b/src/N_m3u8DL-RE/CommandLine/MyOption.cs index 8233c56..67cad32 100644 --- a/src/N_m3u8DL-RE/CommandLine/MyOption.cs +++ b/src/N_m3u8DL-RE/CommandLine/MyOption.cs @@ -274,7 +274,7 @@ internal class MyOption public DecryptEngine GetDecryptEngine() { if (UseShakaPackager) - return DecryptEngine.SHAKA_PACKAGE; + return DecryptEngine.SHAKA_PACKAGER; if (UseMp4Decrypt) return DecryptEngine.MP4DECRYPT; return DecryptEngine.FFMPEG; diff --git a/src/N_m3u8DL-RE/Enum/DecryptEngine.cs b/src/N_m3u8DL-RE/Enum/DecryptEngine.cs index 6c01e3e..284a9fb 100644 --- a/src/N_m3u8DL-RE/Enum/DecryptEngine.cs +++ b/src/N_m3u8DL-RE/Enum/DecryptEngine.cs @@ -3,6 +3,6 @@ namespace N_m3u8DL_RE.Enum; internal enum DecryptEngine { MP4DECRYPT, - SHAKA_PACKAGE, + SHAKA_PACKAGER, FFMPEG, } \ No newline at end of file diff --git a/src/N_m3u8DL-RE/Util/MP4DecryptUtil.cs b/src/N_m3u8DL-RE/Util/MP4DecryptUtil.cs index bada77f..549eb91 100644 --- a/src/N_m3u8DL-RE/Util/MP4DecryptUtil.cs +++ b/src/N_m3u8DL-RE/Util/MP4DecryptUtil.cs @@ -51,7 +51,7 @@ internal static class MP4DecryptUtil string cmd; var tmpFile = ""; - if (decryptEngine == DecryptEngine.SHAKA_PACKAGE) + if (decryptEngine == DecryptEngine.SHAKA_PACKAGER) { var enc = source; // shakaPackager 手动构造文件