From 3404d63655f2c5d4fdef2b918a6ea06ec1a04f9f Mon Sep 17 00:00:00 2001 From: Malte Rosenbjerg Date: Fri, 17 Oct 2025 15:07:45 +0200 Subject: [PATCH] Rename download function --- FFMpegCore.Extensions.Downloader/FFMpegDownloader.cs | 2 +- FFMpegCore.Test/DownloaderTests.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/FFMpegCore.Extensions.Downloader/FFMpegDownloader.cs b/FFMpegCore.Extensions.Downloader/FFMpegDownloader.cs index f539b3a..ef2406a 100644 --- a/FFMpegCore.Extensions.Downloader/FFMpegDownloader.cs +++ b/FFMpegCore.Extensions.Downloader/FFMpegDownloader.cs @@ -17,8 +17,8 @@ public static class FFMpegDownloader /// used for specifying binary folder to download binaries into. If not provided, GlobalFFOptions are used /// used to explicitly state the os and architecture you want to download /// a list of the binaries that have been successfully downloaded - public static async Task> DownloadFFMpegSuite( FFMpegVersions version = FFMpegVersions.Latest, + public static async Task> DownloadBinaries( FFMpegBinaries binaries = FFMpegBinaries.FFMpeg | FFMpegBinaries.FFProbe, FFOptions? options = null, SupportedPlatforms? platformOverride = null) diff --git a/FFMpegCore.Test/DownloaderTests.cs b/FFMpegCore.Test/DownloaderTests.cs index a1a92a8..77bb1fd 100644 --- a/FFMpegCore.Test/DownloaderTests.cs +++ b/FFMpegCore.Test/DownloaderTests.cs @@ -11,7 +11,7 @@ public class DownloaderTests public async Task GetSpecificVersionTest() { var options = new FFOptions { BinaryFolder = Path.GetTempPath() }; - var binaries = await FFMpegDownloader.DownloadFFMpegSuite(FFMpegVersions.V6_1, options: options); + var binaries = await FFMpegDownloader.DownloadBinaries(FFMpegVersions.V6_1, options: options); try { Assert.HasCount(2, binaries); @@ -26,7 +26,7 @@ public class DownloaderTests public async Task GetAllLatestSuiteTest() { var options = new FFOptions { BinaryFolder = Path.GetTempPath() }; - var binaries = await FFMpegDownloader.DownloadFFMpegSuite(options: options); + var binaries = await FFMpegDownloader.DownloadBinaries(options: options); try { Assert.HasCount(2, binaries);