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 手动构造文件