From 4f6b728de2bba58fc70ad41e93bd3bd4541e0033 Mon Sep 17 00:00:00 2001 From: ac79b0c6 <105047743+ac79b0c6@users.noreply.github.com> Date: Sat, 31 Dec 2022 13:45:46 +0800 Subject: update gui --- mkvtool-gui/sdk.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mkvtool-gui/sdk.cs') diff --git a/mkvtool-gui/sdk.cs b/mkvtool-gui/sdk.cs index 87ce7f7..7cc4d90 100644 --- a/mkvtool-gui/sdk.cs +++ b/mkvtool-gui/sdk.cs @@ -40,7 +40,7 @@ public static class mkvlib static extern bool CreateMKVs(IntPtr vDir, IntPtr sDir, IntPtr fDir, IntPtr tDir, IntPtr oDir, IntPtr slang, IntPtr stitle, bool clean, logCallback lcb); [DllImport(so)] - static extern bool MakeMKVs(IntPtr dir, IntPtr data, IntPtr output, IntPtr slang, IntPtr stitle, logCallback lcb); + static extern bool MakeMKVs(IntPtr dir, IntPtr data, IntPtr output, IntPtr slang, IntPtr stitle, bool subset, logCallback lcb); [DllImport(so)] static extern bool CreateBlankOrBurnVideo(long t, IntPtr s, IntPtr enc, IntPtr ass, IntPtr fontdir, IntPtr output); @@ -135,9 +135,9 @@ public static class mkvlib return CreateMKVs(cs(vDir), cs(sDir), cs(fDir), cs(tDir), cs(oDir), cs(slang), cs(stitle), clean, _lcb(lcb)); } - public static bool MakeMKVs(string dir, string data, string output, string slang, string stitle, Action lcb) + public static bool MakeMKVs(string dir, string data, string output, string slang, string stitle, bool subset, Action lcb) { - return MakeMKVs(cs(dir), cs(data), cs(output), cs(slang), cs(stitle), _lcb(lcb)); + return MakeMKVs(cs(dir), cs(data), cs(output), cs(slang), cs(stitle), subset, _lcb(lcb)); } public static bool CreateBlankOrBurnVideo(long t, string s, string enc, string ass, string fontdir, string output) -- cgit v1.2.1