summaryrefslogtreecommitdiff
path: root/mkvtool-gui/sdk.cs
diff options
context:
space:
mode:
authorac79b0c6 <[email protected]>2022-12-31 13:45:46 +0800
committerac79b0c6 <[email protected]>2022-12-31 13:45:46 +0800
commit4f6b728de2bba58fc70ad41e93bd3bd4541e0033 (patch)
treec2aa9cfb591be2aea47d7a24660255003654bde5 /mkvtool-gui/sdk.cs
parentffb1d9cd2eb76673c383a6f8f890a40d0ff14f2e (diff)
update gui
Diffstat (limited to 'mkvtool-gui/sdk.cs')
-rw-r--r--mkvtool-gui/sdk.cs6
1 files changed, 3 insertions, 3 deletions
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<LogLevel, string> lcb)
+ public static bool MakeMKVs(string dir, string data, string output, string slang, string stitle, bool subset, Action<LogLevel, string> 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)