Fix ffmpeg processes not terminating.
This commit is contained in:
parent
77b847dde6
commit
4fa977347c
@ -78,12 +78,12 @@ func (s Service) RunConvert(setting ConvertSetting, progress ProgressContract) e
|
||||
return err
|
||||
}
|
||||
|
||||
err = progress.Run(stdOut, stdErr)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
errProgress := progress.Run(stdOut, stdErr)
|
||||
|
||||
err = cmd.Wait()
|
||||
if errProgress != nil {
|
||||
return errProgress
|
||||
}
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user