Fix for ffprobe not found under Windows.

pull/1236/head
morpheus65535 4 years ago
parent 39e658e913
commit 06092c14a9

@ -125,7 +125,7 @@ def get_binary(name):
name = "%s.exe" % name name = "%s.exe" % name
elif platform.system() == "Darwin": # MacOSX elif platform.system() == "Darwin": # MacOSX
system = 'MacOSX' system = 'MacOSX'
if name == 'ffprobe': if name in ['ffprobe', 'ffprobe.exe']:
dir_name = 'ffmpeg' dir_name = 'ffmpeg'
exe_dir = os.path.abspath(os.path.join(binaries_dir, system, machine, dir_name)) exe_dir = os.path.abspath(os.path.join(binaries_dir, system, machine, dir_name))

Loading…
Cancel
Save