修正ShakaPackager枚举值
This commit is contained in:
parent
9752df8aae
commit
09d9f0e320
|
@ -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;
|
||||
|
|
|
@ -3,6 +3,6 @@ namespace N_m3u8DL_RE.Enum;
|
|||
internal enum DecryptEngine
|
||||
{
|
||||
MP4DECRYPT,
|
||||
SHAKA_PACKAGE,
|
||||
SHAKA_PACKAGER,
|
||||
FFMPEG,
|
||||
}
|
|
@ -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 手动构造文件
|
||||
|
|
Loading…
Reference in New Issue