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

Update FFProbe.cs

Former-commit-id: b5476c9d7b
This commit is contained in:
Notheisz57 2022-01-29 19:31:06 -08:00 committed by GitHub
commit 6338c93eef

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,