Skip to content

Commit

Permalink
Warn if ffmpeg can't be found
Browse files Browse the repository at this point in the history
  • Loading branch information
jvoisin authored and deluan committed Apr 10, 2020
1 parent 0998545 commit b34523e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions engine/transcoder/ffmpeg.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ type Transcoder interface {
}

func New() Transcoder {
path, err := exec.LookPath("ffmpeg")
if err != nil {
log.Error("Unable to find ffmpeg", err)
}
log.Debug("Found ffmpeg", "path", path)
return &ffmpeg{}
}

Expand Down

0 comments on commit b34523e

Please sign in to comment.