diff options
| author | ac79b0c6 <[email protected]> | 2022-06-06 09:30:46 +0800 |
|---|---|---|
| committer | ac79b0c6 <[email protected]> | 2022-06-06 09:30:46 +0800 |
| commit | e2be87320e2d49e70a212cd080e91bf0981ac131 (patch) | |
| tree | 77fd2c3e016092c5bde8ce8417e71014122bc457 /mkvlib/ass2pgs.go | |
| parent | 5c1d752884d41a5fd300a9856de0a92c067ea210 (diff) | |
update mkvlib:add log level
Diffstat (limited to 'mkvlib/ass2pgs.go')
| -rw-r--r-- | mkvlib/ass2pgs.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mkvlib/ass2pgs.go b/mkvlib/ass2pgs.go index 166db1e..6eb6e6d 100644 --- a/mkvlib/ass2pgs.go +++ b/mkvlib/ass2pgs.go @@ -1,7 +1,6 @@ package mkvlib import ( - "fmt" "os" "path" ) @@ -23,7 +22,7 @@ func ass2Pgs(input []string, resolution, frameRate, fontsDir, output string, lcb s, err := p.Wait() r = err == nil && s.ExitCode() == 0 if !r { - printLog(lcb, fmt.Sprintf(`Failed to Ass2Pgs:"%s"`, item)) + printLog(lcb, LogError, `Failed to Ass2Pgs:"%s"`, item) _ = os.Remove(fn) } } |
