[chronojump] Fixed ffmpeg executable path on windows (2)
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fixed ffmpeg executable path on windows (2)
- Date: Tue, 18 Sep 2018 19:53:21 +0000 (UTC)
commit 557a85c467b195f832c576d3a28ccac2316666f0
Author: Xavier de Blas <xaviblas gmail com>
Date: Tue Sep 18 21:52:23 2018 +0200
Fixed ffmpeg executable path on windows (2)
src/webcamFfmpeg.cs | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/src/webcamFfmpeg.cs b/src/webcamFfmpeg.cs
index a09df19b..0efeb721 100644
--- a/src/webcamFfmpeg.cs
+++ b/src/webcamFfmpeg.cs
@@ -225,6 +225,9 @@ public static class WebcamFfmpegGetDevicesWindows
public static List<string> GetDevices()
{
string executable = "ffmpeg";
+ if(UtilAll.GetOSEnum() == UtilAll.OperatingSystems.WINDOWS)
+ executable = System.IO.Path.Combine(Util.GetPrefixDir(), "bin/ffmpeg.exe");
+
List<string> parameters = createParameters();
ExecuteProcess.Result execute_result = ExecuteProcess.run (executable, parameters);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]