From 24780596a9e62e823d619792445a784094f904a2 Mon Sep 17 00:00:00 2001 From: sr55 Date: Mon, 15 Jun 2009 14:56:23 +0000 Subject: WinGui: - Picture Settings: Height of 0 allows for no -l to be passed to the CLI - Picture Settings / pre-sets now set 0 when no Height specified. Prevents the panel from using incorrect values when pre-sets are selected. - Simplified the Encode.cs set-up. Includes changes to QueueHandler git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2534 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/C#/frmMain.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'win/C#/frmMain.cs') diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs index bad59d7b8..40aa39034 100644 --- a/win/C#/frmMain.cs +++ b/win/C#/frmMain.cs @@ -525,7 +525,7 @@ namespace Handbrake encodeQueue.pauseEncodeQueue(); // Allow the CLI to exit cleanly - Win32.SetForegroundWindow(encodeQueue.encodeProcess.processHandle); + Win32.SetForegroundWindow((int)encodeQueue.encodeHandler.processHandle); SendKeys.Send("^C"); // Update the GUI @@ -1561,7 +1561,7 @@ namespace Handbrake { try { - Parser encode = new Parser(encodeQueue.encodeProcess.hbProcProcess.StandardOutput.BaseStream); + Parser encode = new Parser(encodeQueue.encodeHandler.hbProcess.StandardOutput.BaseStream); encode.OnEncodeProgress += encodeOnEncodeProgress; while (!encode.EndOfStream) { -- cgit v1.2.3