Skip to content

Commit

Permalink
修正ShakaPackager枚举值
Browse files Browse the repository at this point in the history
  • Loading branch information
nilaoda committed Nov 28, 2024
1 parent 9752df8 commit 09d9f0e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/N_m3u8DL-RE/CommandLine/MyOption.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/N_m3u8DL-RE/Enum/DecryptEngine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ namespace N_m3u8DL_RE.Enum;
internal enum DecryptEngine
{
MP4DECRYPT,
SHAKA_PACKAGE,
SHAKA_PACKAGER,
FFMPEG,
}
2 changes: 1 addition & 1 deletion src/N_m3u8DL-RE/Util/MP4DecryptUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public static async Task<bool> DecryptAsync(DecryptEngine decryptEngine, string
string cmd;

var tmpFile = "";
if (decryptEngine == DecryptEngine.SHAKA_PACKAGE)
if (decryptEngine == DecryptEngine.SHAKA_PACKAGER)
{
var enc = source;
// shakaPackager 手动构造文件
Expand Down

0 comments on commit 09d9f0e

Please sign in to comment.