From 1d2c0f760b56e48b3313540254ad5e3c4a1fac95 Mon Sep 17 00:00:00 2001 From: Notheisz57 Date: Sat, 29 Jan 2022 19:29:45 -0800 Subject: [PATCH] Update FFProbe.cs Pass FFOptions argument in call to GlobalFFOptions.GetFFProbeBinaryPath --- FFMpegCore/FFProbe/FFProbe.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FFMpegCore/FFProbe/FFProbe.cs b/FFMpegCore/FFProbe/FFProbe.cs index 36f050c..4418371 100644 --- a/FFMpegCore/FFProbe/FFProbe.cs +++ b/FFMpegCore/FFProbe/FFProbe.cs @@ -201,7 +201,7 @@ private static Instance PrepareInstance(string arguments, int outputCapacity, FF { FFProbeHelper.RootExceptionCheck(); FFProbeHelper.VerifyFFProbeExists(ffOptions); - var startInfo = new ProcessStartInfo(GlobalFFOptions.GetFFProbeBinaryPath(), arguments) + var startInfo = new ProcessStartInfo(GlobalFFOptions.GetFFProbeBinaryPath(ffOptions), arguments) { StandardOutputEncoding = ffOptions.Encoding, StandardErrorEncoding = ffOptions.Encoding,