From aa8cdf013efac1fd873c40e1fad1ef6e8ad890e9 Mon Sep 17 00:00:00 2001 From: manscrober <42243410+manscrober@users.noreply.github.com> Date: Thu, 7 May 2020 00:51:19 +0200 Subject: [PATCH] This makes transcoder.Output() work again. Since errb is not really handled later on anyway and error from ffmpeg are still printed, I think this change only makes sense. credit to https://github.com/xfrr/goffmpeg/issues/54#issuecomment-616273992 --- transcoder/transcoder.go | 1 - 1 file changed, 1 deletion(-) diff --git a/transcoder/transcoder.go b/transcoder/transcoder.go index 209dacf..172d42e 100644 --- a/transcoder/transcoder.go +++ b/transcoder/transcoder.go @@ -224,7 +224,6 @@ func (t *Transcoder) Run(progress bool) <-chan error { var outb, errb bytes.Buffer if progress { proc.Stdout = &outb - proc.Stderr = &errb } // If an input pipe has been set, we set it as stdin for the transcoding