mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-28 10:01:05 +00:00
Merge pull request #7821 from joksnet/patch-1
[FFmpegPostProcessor] Default of prefer ffmpeg
This commit is contained in:
commit
dfd42a43c3
1 changed files with 2 additions and 1 deletions
|
@ -52,7 +52,7 @@ def get_versions(downloader=None):
|
|||
|
||||
def _determine_executables(self):
|
||||
programs = ['avprobe', 'avconv', 'ffmpeg', 'ffprobe']
|
||||
prefer_ffmpeg = self._downloader.params.get('prefer_ffmpeg', False)
|
||||
prefer_ffmpeg = False
|
||||
|
||||
self.basename = None
|
||||
self.probe_basename = None
|
||||
|
@ -60,6 +60,7 @@ def _determine_executables(self):
|
|||
self._paths = None
|
||||
self._versions = None
|
||||
if self._downloader:
|
||||
prefer_ffmpeg = self._downloader.params.get('prefer_ffmpeg', False)
|
||||
location = self._downloader.params.get('ffmpeg_location')
|
||||
if location is not None:
|
||||
if not os.path.exists(location):
|
||||
|
|
Loading…
Reference in a new issue