mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 08:34:12 +01:00
Update FFProbe.cs
Pass FFOptions argument in call to GlobalFFOptions.GetFFProbeBinaryPath
Former-commit-id: 1d2c0f760b
This commit is contained in:
parent
40a28f92e7
commit
eec2c3b375
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ private static Instance PrepareInstance(string arguments, int outputCapacity, FF
|
||||||
{
|
{
|
||||||
FFProbeHelper.RootExceptionCheck();
|
FFProbeHelper.RootExceptionCheck();
|
||||||
FFProbeHelper.VerifyFFProbeExists(ffOptions);
|
FFProbeHelper.VerifyFFProbeExists(ffOptions);
|
||||||
var startInfo = new ProcessStartInfo(GlobalFFOptions.GetFFProbeBinaryPath(), arguments)
|
var startInfo = new ProcessStartInfo(GlobalFFOptions.GetFFProbeBinaryPath(ffOptions), arguments)
|
||||||
{
|
{
|
||||||
StandardOutputEncoding = ffOptions.Encoding,
|
StandardOutputEncoding = ffOptions.Encoding,
|
||||||
StandardErrorEncoding = ffOptions.Encoding,
|
StandardErrorEncoding = ffOptions.Encoding,
|
||||||
|
|
Loading…
Reference in a new issue