diff --git a/FFMpegCore.Extensions.Downloader/Enums/FFMpegVersions.cs b/FFMpegCore.Extensions.Downloader/Enums/FFMpegVersions.cs index a2e5f09..c9f5dd3 100644 --- a/FFMpegCore.Extensions.Downloader/Enums/FFMpegVersions.cs +++ b/FFMpegCore.Extensions.Downloader/Enums/FFMpegVersions.cs @@ -5,7 +5,7 @@ namespace FFMpegCore.Extensions.Downloader.Enums; public enum FFMpegVersions : ushort { [Description("https://ffbinaries.com/api/v1/version/latest")] - Latest, + LatestAvailable, [Description("https://ffbinaries.com/api/v1/version/6.1")] V6_1, diff --git a/FFMpegCore.Extensions.Downloader/FFMpegDownloader.cs b/FFMpegCore.Extensions.Downloader/FFMpegDownloader.cs index ef2406a..06c91d5 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 - FFMpegVersions version = FFMpegVersions.Latest, public static async Task> DownloadBinaries( + FFMpegVersions version = FFMpegVersions.LatestAvailable, FFMpegBinaries binaries = FFMpegBinaries.FFMpeg | FFMpegBinaries.FFProbe, FFOptions? options = null, SupportedPlatforms? platformOverride = null)