From 3c7997b75e99ae290c18e89c1068511cea4ebea5 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Fri, 1 Jan 2021 17:01:36 -0800 Subject: [PATCH] Make missing ffmpeg a fatal error. Closes #554 --- config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/config.go b/config/config.go index 3229c1bb4..a2a76368d 100644 --- a/config/config.go +++ b/config/config.go @@ -211,7 +211,7 @@ func (c *config) GetFFMpegPath() string { cmd := exec.Command("which", "ffmpeg") out, err := cmd.CombinedOutput() if err != nil { - log.Debugln("Unable to determine path to ffmpeg. Please specify it in the config file.") + log.Fatalln("Unable to determine path to ffmpeg. Please specify it in the config file.") } path := strings.TrimSpace(string(out))