[ffmpeg] Fix features detection

pull/3563/head
pukkandan 3 years ago
parent ca04e1bf49
commit e13945a2fe
No known key found for this signature in database
GPG Key ID: 7EEE9E1E817D0A39

@ -146,7 +146,8 @@ class FFmpegPostProcessor(PostProcessor):
self._paths[basename] = location
self._versions = {}
executables = {'basename': ('ffmpeg', 'avconv'), 'probe_basename': ('ffprobe', 'avprobe')}
# NB: probe must be first for _features to be poulated correctly
executables = {'probe_basename': ('ffprobe', 'avprobe'), 'basename': ('ffmpeg', 'avconv')}
if prefer_ffmpeg is False:
executables = {k: v[::-1] for k, v in executables.items()}
for var, prefs in executables.items():

Loading…
Cancel
Save