From 76391e75550202fa09c139a23f566c999b27ea61 Mon Sep 17 00:00:00 2001 From: Matt McManis Date: Thu, 28 May 2020 20:06:34 -0700 Subject: [PATCH] Update MainWindow.xaml.cs --- source/Axiom/Axiom/MainWindow.xaml.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/Axiom/Axiom/MainWindow.xaml.cs b/source/Axiom/Axiom/MainWindow.xaml.cs index 9c80a48f..dc0b11ea 100644 --- a/source/Axiom/Axiom/MainWindow.xaml.cs +++ b/source/Axiom/Axiom/MainWindow.xaml.cs @@ -2551,8 +2551,8 @@ public static String FFmpegPath() if (File.Exists(appRootDir + @"ffmpeg\bin\ffmpeg.exe")) { // use included binary - FFmpeg.ffmpeg = FFmpeg.PowerShell_CallOperator() + "\"" + appRootDir + @"ffmpeg\bin\ffmpeg.exe" + "\""; - //FFmpeg.ffmpeg = FFmpeg.PowerShell_CallOperator() + WrapWithQuotes(appRootDir + @"ffmpeg\bin\ffmpeg.exe"); + FFmpeg.ffmpeg = FFmpeg.PowerShell_CallOperator_FFmpeg() + "\"" + appRootDir + @"ffmpeg\bin\ffmpeg.exe" + "\""; + //FFmpeg.ffmpeg = FFmpeg.PowerShell_CallOperator_FFmpeg() + WrapWithQuotes(appRootDir + @"ffmpeg\bin\ffmpeg.exe"); } else if (!File.Exists(appRootDir + @"ffmpeg\bin\ffmpeg.exe")) { @@ -2563,8 +2563,8 @@ public static String FFmpegPath() // Use User Custom Path else { - FFmpeg.ffmpeg = FFmpeg.PowerShell_CallOperator() + "\"" + VM.ConfigureView.FFmpegPath_Text + "\""; - //FFmpeg.ffmpeg = FFmpeg.PowerShell_CallOperator() + WrapWithQuotes(VM.ConfigureView.FFmpegPath_Text); + FFmpeg.ffmpeg = FFmpeg.PowerShell_CallOperator_FFmpeg() + "\"" + VM.ConfigureView.FFmpegPath_Text + "\""; + //FFmpeg.ffmpeg = FFmpeg.PowerShell_CallOperator_FFmpeg() + WrapWithQuotes(VM.ConfigureView.FFmpegPath_Text); } // Return Value