mirror of
https://github.com/owncast/owncast.git
synced 2025-11-02 03:54:54 +08:00
Fix error message about missing ffmpeg
This commit is contained in:
@ -227,7 +227,7 @@ func ValidatedFfmpegPath(ffmpegPath string) 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.Fatalln("Unable to determine path to ffmpeg. Please specify it in the config file.")
|
log.Fatalln("Unable to determine path to ffmpeg. Please make sure it is installed either globaly or a copy exists in the owncast directory.")
|
||||||
}
|
}
|
||||||
|
|
||||||
path := strings.TrimSpace(string(out))
|
path := strings.TrimSpace(string(out))
|
||||||
|
|||||||
Reference in New Issue
Block a user