Browse Source

Check error when reading ffmpeg version string

pull/642/head
Gabe Kangas 4 years ago
parent
commit
2049d33e0c
  1. 3
      config/verifyInstall.go

3
config/verifyInstall.go

@ -36,6 +36,9 @@ func verifyFFMpegPath(path string) error {
cmd := exec.Command(path) cmd := exec.Command(path)
out, err := cmd.CombinedOutput() out, err := cmd.CombinedOutput()
if err != nil {
return fmt.Errorf("unable to determine the version of your ffmpeg installation at %s. you may experience issues with video.", path)
}
response := string(out) response := string(out)
if response == "" { if response == "" {

Loading…
Cancel
Save