功能完善

UI改进
This commit is contained in:
sansen
2026-07-30 14:30:21 +08:00
parent 7e391d9381
commit f5dce6efe5
18 changed files with 533 additions and 230 deletions
+1 -1
View File
@@ -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
}