From 25a09d120098574711a3f007f35df44771da387c Mon Sep 17 00:00:00 2001 From: ac79b0c6 <105047743+ac79b0c6@users.noreply.github.com> Date: Fri, 20 May 2022 18:16:59 +0800 Subject: update mkvlib:add overwrite switch --- mkvlib/c/exports.go | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'mkvlib/c/exports.go') diff --git a/mkvlib/c/exports.go b/mkvlib/c/exports.go index f1537e3..86a0ceb 100644 --- a/mkvlib/c/exports.go +++ b/mkvlib/c/exports.go @@ -215,6 +215,14 @@ func GetFontInfo(p *C.char) *C.char { return cs(string(data)) } +//export Overwrite +func Overwrite(o bool) { + if !checkInstance() { + return + } + getter.GetProcessorInstance().Overwrite(o) +} + //export Version func Version() *C.char { return cs(mkvlib.Version()) -- cgit v1.2.1