Support default path of ffmpeg and not needing to specify it in the config

This commit is contained in:
Gabe Kangas
2020-07-13 14:32:12 -07:00
parent 5b0eb8834f
commit 51e2e68017
4 changed files with 21 additions and 14 deletions

View File

@ -104,7 +104,7 @@ func (t *Transcoder) getString() string {
ffmpegFlags := []string{
"cat", t.input, "|",
config.Config.FFMpegPath,
config.Config.GetFFMpegPath(),
"-hide_banner",
"-i pipe:",
t.getVariantsString(),