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);