fixed debug output

This commit is contained in:
milarin 2023-01-16 00:23:27 +01:00
parent fecbf43afd
commit 053e498bf2

View File

@ -17,7 +17,7 @@ func EncodeVideo(w io.Writer, encArgs, oldFile, newFile string) error {
start := time.Now() start := time.Now()
fmt.Fprintf(w, "\tencode file\n\t from: '%s'\n\t to: '%s\n'", oldFile, newFile) fmt.Fprintf(w, "\tencode file\n\t from: '%s'\n\t to: '%s'\n", oldFile, newFile)
fullArgs := []string{"-y", "-i", oldFile} fullArgs := []string{"-y", "-i", oldFile}
fullArgs = append(fullArgs, strings.Split(encArgs, " ")...) fullArgs = append(fullArgs, strings.Split(encArgs, " ")...)