[chronojump] PlayFile & PlayPreview: CreateNoWindow (avoid terminal on windows)
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] PlayFile & PlayPreview: CreateNoWindow (avoid terminal on windows)
- Date: Fri, 8 Feb 2019 14:59:19 +0000 (UTC)
commit f4a124bcffb604f24f601433583d7d7b341aa219
Author: Xavier de Blas <xaviblas gmail com>
Date: Fri Feb 8 13:44:01 2019 +0100
PlayFile & PlayPreview: CreateNoWindow (avoid terminal on windows)
src/webcamFfmpeg.cs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/webcamFfmpeg.cs b/src/webcamFfmpeg.cs
index f5aae18f..e580004c 100644
--- a/src/webcamFfmpeg.cs
+++ b/src/webcamFfmpeg.cs
@@ -72,7 +72,7 @@ public class WebcamFfmpeg : Webcam
List<string> parameters = createParametersPlayPreview();
process = new Process();
- bool success = ExecuteProcess.RunAtBackground (ref process, executable, parameters, false,
false, false, false, false);
+ bool success = ExecuteProcess.RunAtBackground (ref process, executable, parameters, true,
false, false, false, false);
if(! success)
{
process = null;
@@ -91,7 +91,7 @@ public class WebcamFfmpeg : Webcam
List<string> parameters = createParametersPlayFile (filename);
process = new Process();
- bool success = ExecuteProcess.RunAtBackground (ref process, executable, parameters, false,
false, false, false, false);
+ bool success = ExecuteProcess.RunAtBackground (ref process, executable, parameters, truee,
false, false, false, false);
if(! success)
{
process = null;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]