[external/FFmpeg] Fix and improve --ffmpeg-location handling
authordirkf <fieldhouse@gmx.net>
Sun, 3 Mar 2024 12:38:00 +0000 (12:38 +0000)
committerdirkf <fieldhouse@gmx.net>
Wed, 27 Mar 2024 13:11:17 +0000 (13:11 +0000)
commit21792b88b791b16e3ab0a0fb2e26e5bb8a4e2ff3
tree9bba85e51064a62cb17701ad9038ffdd7c2afb79
parentd8f134a664d7be2c10aba44fc2d54a8f7b0542ff
[external/FFmpeg] Fix and improve --ffmpeg-location handling
* pass YoutubeDL (FileDownloader) to FFmpegPostProcessor constructor
* consolidate path search in FFmpegPostProcessor
* make availability of FFmpegFD depend on existence of FFmpegPostProcessor
* detect ffmpeg executable on instantiation of FFmpegFD
* resolves #32735
test/test_downloader_external.py
youtube_dl/downloader/external.py
youtube_dl/postprocessor/ffmpeg.py