Added transcode task

This commit is contained in:
StashAppDev
2019-02-11 12:12:08 -08:00
parent 505ea8ea9a
commit 4f80decce4
4 changed files with 72 additions and 11 deletions

View File

@@ -98,9 +98,8 @@ func (s *singleton) Generate(sprites bool, previews bool, markers bool, transcod
}
if transcodes {
go func() {
wg.Done() // TODO
}()
task := GenerateTranscodeTask{Scene: scene}
go task.Start(&wg)
}
wg.Wait()