[chronojump] Fixed ffmpeg executable path on windows



commit 1e2eb1d8d95d8f392862298b645aff36133c7516
Author: Xavier de Blas <xaviblas gmail com>
Date:   Tue Sep 18 17:22:38 2018 +0200

    Fixed ffmpeg executable path on windows

 src/webcamFfmpeg.cs | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/src/webcamFfmpeg.cs b/src/webcamFfmpeg.cs
index 6c09aad7..a09df19b 100644
--- a/src/webcamFfmpeg.cs
+++ b/src/webcamFfmpeg.cs
@@ -32,7 +32,11 @@ public class WebcamFfmpeg : Webcam
        {
                this.os = os;
                this.videoDevice = videoDevice;
+
                captureExecutable = "ffmpeg";
+               if(os == UtilAll.OperatingSystems.WINDOWS)
+                       captureExecutable = System.IO.Path.Combine(Util.GetPrefixDir(), "bin/ffmpeg.exe");
+
                Running = false;
        }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]