diff options
| author | b5f0d6c3 <[email protected]> | 2022-03-10 00:24:55 +0800 |
|---|---|---|
| committer | b5f0d6c3 <[email protected]> | 2022-03-10 00:24:55 +0800 |
| commit | 4ab65022538472627dba5819b2e62d431b37fe6d (patch) | |
| tree | c66bb57a899afb294cc8acc0eea6be49405687f9 /mkvlib/ass.go | |
| parent | ebfdeb65631a0681373c3c2e6ce9661eb8c7aefa (diff) | |
update mkvlib: add ass to psg support.
Diffstat (limited to 'mkvlib/ass.go')
| -rw-r--r-- | mkvlib/ass.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mkvlib/ass.go b/mkvlib/ass.go index 823e174..4af797d 100644 --- a/mkvlib/ass.go +++ b/mkvlib/ass.go @@ -33,6 +33,7 @@ type fontInfo struct { type assProcessor struct { files []string + _files []string _fonts string output string m map[string]*fontInfo @@ -449,6 +450,7 @@ func (self *assProcessor) replaceFontNameInAss() bool { ok := false if os.WriteFile(fn, []byte(s), os.ModePerm) == nil { ok = true + self._files = append(self._files, fn) } else { ec++ } |
