Merge pull request #1 from Notheisz57/Notheisz57-patch-1

Update FFProbe.cs
This commit is contained in:
Notheisz57 2022-01-29 19:31:06 -08:00 committed by GitHub
commit b5476c9d7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,