summaryrefslogtreecommitdiffstats
path: root/win/C#/Functions/CLI.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2007-11-10 17:37:22 +0000
committersr55 <[email protected]>2007-11-10 17:37:22 +0000
commit176b1d21a5696f80d2d064e3a157225b7c46b841 (patch)
treec09e489e5436ad3707e75b6e795ef1d8ee605605 /win/C#/Functions/CLI.cs
parent49d08a1765428483f4d3d45fe1d9b386f8d6aed2 (diff)
WinGui:
- New PresetLoader function / Query parser completed. - Splash screen now has text status label ( Thanks to xGraphite) - Fixed a localisation issue. (thanks sun) - Removed a bit of redundant code in Functions.CLI - Fixed small issue with presets not setting mp4 extension when required. - Misc other small changes. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1054 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Functions/CLI.cs')
-rw-r--r--win/C#/Functions/CLI.cs29
1 files changed, 1 insertions, 28 deletions
diff --git a/win/C#/Functions/CLI.cs b/win/C#/Functions/CLI.cs
index b3ba60175..548148517 100644
--- a/win/C#/Functions/CLI.cs
+++ b/win/C#/Functions/CLI.cs
@@ -29,34 +29,7 @@ namespace Handbrake.Functions
hbProc.StartInfo.RedirectStandardError = stderr;
hbProc.StartInfo.UseShellExecute = useShellExec;
hbProc.StartInfo.CreateNoWindow = noWindow;
- hbProc.StartInfo.WindowStyle = ProcessWindowStyle.Minimized; // Why doesn't this work??
- hbProc.Start();
-
-
- // Set the process Priority
- switch (Properties.Settings.Default.processPriority)
- {
- case "Realtime":
- hbProc.PriorityClass = ProcessPriorityClass.RealTime;
- break;
- case "High":
- hbProc.PriorityClass = ProcessPriorityClass.High;
- break;
- case "Above Normal":
- hbProc.PriorityClass = ProcessPriorityClass.AboveNormal;
- break;
- case "Normal":
- hbProc.PriorityClass = ProcessPriorityClass.Normal;
- break;
- case "Low":
- hbProc.PriorityClass = ProcessPriorityClass.Idle;
- break;
- default:
- hbProc.PriorityClass = ProcessPriorityClass.BelowNormal;
- break;
- }
-
-
+ hbProc.Start();
}
catch
{