From 9f530f2cf6f3d1c219e6e321dc10448ac4b6856d Mon Sep 17 00:00:00 2001 From: nilaoda Date: Sun, 1 Dec 2024 23:12:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3fMP4=E5=BD=95=E5=88=B6?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E6=97=A0=E6=B3=95=E6=92=AD=E6=94=BE=E9=97=AE?= =?UTF-8?q?=E9=A2=98=20(#537)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs b/src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs index 7f1cee41..f9c66eba 100644 --- a/src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs +++ b/src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs @@ -552,7 +552,7 @@ await Parallel.ForEachAsync(segments, options, async (seg, _) => if (initResult != null && mp4InitFile != "") { // shaka/ffmpeg实时解密不需要init文件用于合并,mp4decrpyt需要 - if (decryptEngine != DecryptEngine.MP4DECRYPT) + if (string.IsNullOrEmpty(currentKID) || decryptEngine == DecryptEngine.MP4DECRYPT) { files = [initResult.ActualFilePath, ..files]; }