This commit is contained in:
Ramon Rüttimann
2019-11-09 13:14:30 +01:00
parent d451cb44fc
commit 95bbe3aa58

View File

@@ -220,8 +220,7 @@ func (t *Transcoder) Run(progress bool) <-chan error {
// Run the pipe-in command if it has been set
if t.mediafile.InputPipeCommand() != nil {
err = t.mediafile.InputPipeCommand().Run()
if err != nil {
if err := t.mediafile.InputPipeCommand().Run(); err != nil {
done <- fmt.Errorf("Failed execution of pipe-in command (%s) with %s", t.mediafile.InputPipeCommand().Args, err)
close(done)
return