Fix external downloader availability when using --ffmpeg-location (#12318)

This fix is only applicable to the CLI option

Authored by: Kenshin9977
This commit is contained in:
Kenshin9977 authored and GitHub committed 2025-02-23 08:50:43 +00:00
1 parent c034d65548
commit 9f77e04c76
2 files changed
+1 -3

No files matched your search

-2
View File
@@ -457,8 +457,6 @@ class FFmpegFD(ExternalFD):
@classmethod
def available(cls, path=None):
# TODO: Fix path for ffmpeg
# Fixme: This may be wrong when --ffmpeg-location is used
return FFmpegPostProcessor().available
def on_process_started(self, proc, stdin):
+1 -1
View File
@@ -202,7 +202,7 @@ class FFmpegPostProcessor(PostProcessor):
@property
def available(self):
return self.basename is not None
return bool(self._ffmpeg_location.get()) or self.basename is not None
@property
def executable(self):