diff options
| author | b5f0d6c3 <[email protected]> | 2022-04-26 18:51:33 +0800 |
|---|---|---|
| committer | b5f0d6c3 <[email protected]> | 2022-04-26 18:51:33 +0800 |
| commit | cf1a979b0cf322364a4bf90ed547988a6756b0f5 (patch) | |
| tree | 40cde39102589c4a98503a02802c7758b7fe4a69 /mkvlib/mkv.go | |
| parent | 58a093c3317ee1f2f71f1b6f5e02bca3a67d0b34 (diff) | |
update mkvlib:fix mks bug.
Diffstat (limited to 'mkvlib/mkv.go')
| -rw-r--r-- | mkvlib/mkv.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mkvlib/mkv.go b/mkvlib/mkv.go index 31b4b00..81278bd 100644 --- a/mkvlib/mkv.go +++ b/mkvlib/mkv.go @@ -148,7 +148,6 @@ func (self *mkvProcessor) CheckSubset(file string, lcb logCallback) (bool, bool) func (self *mkvProcessor) CreateMKV(file string, tracks, attachments []string, output, slang, stitle string, clean bool) bool { args := make([]string, 0) - args = append(args, "--output", output) if clean { args = append(args, "--no-subtitles", "--no-attachments") } @@ -158,6 +157,7 @@ func (self *mkvProcessor) CreateMKV(file string, tracks, attachments []string, o d, _, _, ne := splitPath(output) output = path.Join(d, ne+".mks") } + args = append(args, "--output", output) for _, _item := range attachments { args = append(args, "--attach-file", _item) } |
