Fix ffmpeg downloader on windows (#2133)

This commit is contained in:
kermieisinthehouse 2021-12-16 02:29:42 +00:00 committed by GitHub
parent d25510fdd7
commit bf1b835d6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ func Download(ctx context.Context, configDirectory string) error {
}
// validate that the urls contained what we needed
executables := []string{"ffmpeg", "ffprobe"}
executables := []string{getFFMPEGFilename(), getFFProbeFilename()}
for _, executable := range executables {
_, err := os.Stat(filepath.Join(configDirectory, executable))
if err != nil {