功能完善
UI改进
This commit is contained in:
@@ -203,7 +203,7 @@ func (m *Manager) runTask(t *Task) {
|
||||
if sub.Source == "internal" {
|
||||
tmpPath := t.OutputFile + fmt.Sprintf(".sub_%d_tmp.srt", i)
|
||||
if _, err := m.exec.RunSync("-y", "-i", t.InputFile,
|
||||
"-map", fmt.Sprintf("0:s:%d", sub.Index), "-c:s", "srt", tmpPath); err != nil {
|
||||
"-map", fmt.Sprintf("0:%d", sub.Index), "-c:s", "srt", tmpPath); err != nil {
|
||||
m.completeTask(t, false, fmt.Sprintf("提取字幕轨道 #%d 失败: %v", sub.Index, err))
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user