diff options
| author | b5f0d6c3 <[email protected]> | 2021-10-21 11:46:20 +0800 |
|---|---|---|
| committer | b5f0d6c3 <[email protected]> | 2021-10-21 11:46:20 +0800 |
| commit | 2ad3253d26bfadb8452c82e515eedc60b308cbe9 (patch) | |
| tree | 960c460babef805e0f3476573f6daa81cbd9e580 /mkvlib/mkv.go | |
| parent | 3f3a3cdaecbe6f212c1d405e38525752cc3132a4 (diff) | |
update mkvlib:new c-exports and sdk.py
Diffstat (limited to 'mkvlib/mkv.go')
| -rw-r--r-- | mkvlib/mkv.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mkvlib/mkv.go b/mkvlib/mkv.go index d1aa2c3..32230d1 100644 --- a/mkvlib/mkv.go +++ b/mkvlib/mkv.go @@ -208,7 +208,7 @@ func (self *mkvProcessor) QueryFolder(dir string, lcb logCallback) []string { return lines } -func (self *mkvProcessor) CreateMKVs(vDir, sDir, fDir, tDir, oDir string, slang, stitle string, clean bool, lcb logCallback) bool { +func (self *mkvProcessor) CreateMKVs(vDir, sDir, fDir, tDir, oDir, slang, stitle string, clean bool, lcb logCallback) bool { ec := 0 if tDir == "" { tDir = os.TempDir() @@ -258,7 +258,7 @@ func (self *mkvProcessor) CreateMKVs(vDir, sDir, fDir, tDir, oDir string, slang, return ec == 0 } -func (self *mkvProcessor) MakeMKVs(dir, data, output, slang, sttlte string, lcb logCallback) bool { +func (self *mkvProcessor) MakeMKVs(dir, data, output, slang, stitle string, lcb logCallback) bool { ec := 0 files := findMKVs(dir) l := len(files) @@ -272,7 +272,7 @@ func (self *mkvProcessor) MakeMKVs(dir, data, output, slang, sttlte string, lcb attachments := findFonts(_p) tracks := append(subs, asses...) fn := path.Join(output, d, n) - if !self.CreateMKV(item, tracks, attachments, fn, slang, sttlte, true) { + if !self.CreateMKV(item, tracks, attachments, fn, slang, stitle, true) { ec++ printLog(lcb, `Faild to make the mkv file: "%s".`, item) } |
