From 02c05d1b2986a1582cc3bd047d4ebcbb7f9a4f66 Mon Sep 17 00:00:00 2001 From: Malte Rosenbjerg Date: Tue, 12 May 2020 17:32:56 +0200 Subject: [PATCH] Merge Former-commit-id: 97d3d15a1f2cf948a943a0b8aabb156a123ab7fe --- FFMpegCore/FFMpeg/FFMpeg.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/FFMpegCore/FFMpeg/FFMpeg.cs b/FFMpegCore/FFMpeg/FFMpeg.cs index d08bc08..21a76d8 100644 --- a/FFMpegCore/FFMpeg/FFMpeg.cs +++ b/FFMpegCore/FFMpeg/FFMpeg.cs @@ -328,7 +328,7 @@ public static bool ReplaceAudio(string input, string inputAudio, string output, FFMpegHelper.RootExceptionCheck(FFMpegOptions.Options.RootDirectory); var list = new List(); - using var instance = new Instances.Instance(FFMpegOptions.Options.FFmpegBinary, "-pix_fmts"); + using var instance = new Instances.Instance(FFMpegOptions.Options.FFmpegBinary(), "-pix_fmts"); instance.DataReceived += (e, args) => { if (Enums.PixelFormat.TryParse(args.Data, out var fmt)) @@ -372,7 +372,7 @@ internal static void ParsePartOfCodecs(Dictionary codecs, string { FFMpegHelper.RootExceptionCheck(FFMpegOptions.Options.RootDirectory); - using var instance = new Instances.Instance(FFMpegOptions.Options.FFmpegBinary, arguments); + using var instance = new Instances.Instance(FFMpegOptions.Options.FFmpegBinary(), arguments); instance.DataReceived += (e, args) => { var codec = parser(args.Data); @@ -456,7 +456,7 @@ internal static IReadOnlyList GetContainersFormatsInternal() FFMpegHelper.RootExceptionCheck(FFMpegOptions.Options.RootDirectory); var list = new List(); - using var instance = new Instances.Instance(FFMpegOptions.Options.FFmpegBinary, "-formats"); + using var instance = new Instances.Instance(FFMpegOptions.Options.FFmpegBinary(), "-formats"); instance.DataReceived += (e, args) => { if (ContainerFormat.TryParse(args.Data, out var fmt))