mirror of
https://github.com/yt-dlp/yt-dlp
synced 2024-12-27 21:59:17 +01:00
[ffmpeg] Fix features detection
This commit is contained in:
parent
ca04e1bf49
commit
e13945a2fe
1 changed files with 2 additions and 1 deletions
|
@ -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…
Reference in a new issue