diff --git a/BasicNodes/Tools/Unpack.cs b/BasicNodes/Tools/Unpack.cs index cc55f552..722a8ec1 100644 --- a/BasicNodes/Tools/Unpack.cs +++ b/BasicNodes/Tools/Unpack.cs @@ -79,7 +79,7 @@ public class Unpack: Node /// the location to extract to private void Extract(NodeParameters args, string workingFile, string destinationPath) { - bool isRar = workingFile.ToLowerInvariant().EndsWith(".cbr"); + bool isRar = workingFile.ToLowerInvariant().EndsWith(".cbr") || workingFile.ToLowerInvariant().EndsWith(".rar"); try { ArchiveFactory.WriteToDirectory(workingFile, destinationPath, new () diff --git a/VideoNodes/Helpers/SubtitleHelper.cs b/VideoNodes/Helpers/SubtitleHelper.cs index 38438011..c15ba776 100644 --- a/VideoNodes/Helpers/SubtitleHelper.cs +++ b/VideoNodes/Helpers/SubtitleHelper.cs @@ -54,7 +54,7 @@ internal class SubtitleHelper return "mov_text"; case "mkv": if (isImageBased) - return "hdmv_pgs_subtitle"; + return "copy"; if (IsSupportedSubtitleCodecMKV(currentCodec) == false) return "srt"; // or "ssa" or any other supported codec return currentCodec;