修正ShakaPackager枚举值
This commit is contained in:
parent
9752df8aae
commit
09d9f0e320
|
@ -274,7 +274,7 @@ internal class MyOption
|
||||||
public DecryptEngine GetDecryptEngine()
|
public DecryptEngine GetDecryptEngine()
|
||||||
{
|
{
|
||||||
if (UseShakaPackager)
|
if (UseShakaPackager)
|
||||||
return DecryptEngine.SHAKA_PACKAGE;
|
return DecryptEngine.SHAKA_PACKAGER;
|
||||||
if (UseMp4Decrypt)
|
if (UseMp4Decrypt)
|
||||||
return DecryptEngine.MP4DECRYPT;
|
return DecryptEngine.MP4DECRYPT;
|
||||||
return DecryptEngine.FFMPEG;
|
return DecryptEngine.FFMPEG;
|
||||||
|
|
|
@ -3,6 +3,6 @@ namespace N_m3u8DL_RE.Enum;
|
||||||
internal enum DecryptEngine
|
internal enum DecryptEngine
|
||||||
{
|
{
|
||||||
MP4DECRYPT,
|
MP4DECRYPT,
|
||||||
SHAKA_PACKAGE,
|
SHAKA_PACKAGER,
|
||||||
FFMPEG,
|
FFMPEG,
|
||||||
}
|
}
|
|
@ -51,7 +51,7 @@ internal static class MP4DecryptUtil
|
||||||
string cmd;
|
string cmd;
|
||||||
|
|
||||||
var tmpFile = "";
|
var tmpFile = "";
|
||||||
if (decryptEngine == DecryptEngine.SHAKA_PACKAGE)
|
if (decryptEngine == DecryptEngine.SHAKA_PACKAGER)
|
||||||
{
|
{
|
||||||
var enc = source;
|
var enc = source;
|
||||||
// shakaPackager 手动构造文件
|
// shakaPackager 手动构造文件
|
||||||
|
|
Loading…
Reference in New Issue