diff options
author | sr55 <[email protected]> | 2009-06-15 14:56:23 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2009-06-15 14:56:23 +0000 |
commit | 24780596a9e62e823d619792445a784094f904a2 (patch) | |
tree | 79909eb55db5bf00acd2466a32d7da343949d8f5 /win/C#/frmMain.cs | |
parent | b023bb532c17e1284230172b660baa32b5750318 (diff) |
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
Diffstat (limited to 'win/C#/frmMain.cs')
-rw-r--r-- | win/C#/frmMain.cs | 4 |
1 files changed, 2 insertions, 2 deletions
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)
{
|