From e133bd8b716c17abc3c49e3acb9f20ad2a090a99 Mon Sep 17 00:00:00 2001 From: sr55 Date: Sun, 6 Jan 2013 19:22:56 +0000 Subject: WinGui: Fix AllowSleep option. Port the Numeric Stepper control from Vidcoder onto the Picture settings panel. This should fix a number of strange behavioural issues with the old control. Please report any new issues that this causes. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5158 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/CS/HandBrake.ApplicationServices/Services/Encode.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'win/CS/HandBrake.ApplicationServices/Services/Encode.cs') diff --git a/win/CS/HandBrake.ApplicationServices/Services/Encode.cs b/win/CS/HandBrake.ApplicationServices/Services/Encode.cs index ce75267c5..c136c18ee 100644 --- a/win/CS/HandBrake.ApplicationServices/Services/Encode.cs +++ b/win/CS/HandBrake.ApplicationServices/Services/Encode.cs @@ -118,7 +118,7 @@ namespace HandBrake.ApplicationServices.Services if (this.userSettingService.GetUserSetting(ASUserSettingConstants.PreventSleep)) { - // Win32.PreventSleep(); + Win32.PreventSleep(); } // Make sure the path exists, attempt to create it if it doesn't @@ -143,7 +143,7 @@ namespace HandBrake.ApplicationServices.Services ProcessStartInfo cliStart = new ProcessStartInfo(handbrakeCLIPath, query) { RedirectStandardOutput = true, - RedirectStandardError = enableLogging ? true : false, + RedirectStandardError = enableLogging, UseShellExecute = false, CreateNoWindow = true }; -- cgit v1.2.3