Do not panic. Closes #295
This commit is contained in:
parent
2c3da709f5
commit
6c5253c7e0
@ -40,7 +40,7 @@ func getDefaultFFMpegPath() string {
|
|||||||
cmd := exec.Command("which", "ffmpeg")
|
cmd := exec.Command("which", "ffmpeg")
|
||||||
out, err := cmd.CombinedOutput()
|
out, err := cmd.CombinedOutput()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Panicln("Unable to determine path to ffmpeg. Please specify it in the config file.")
|
log.Debugln("Unable to determine path to ffmpeg. Please specify it in the config file.")
|
||||||
}
|
}
|
||||||
|
|
||||||
path := strings.TrimSpace(string(out))
|
path := strings.TrimSpace(string(out))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user