summaryrefslogtreecommitdiffstats
path: root/win/C#/frmReadDVD.cs
diff options
context:
space:
mode:
authorbrianmario <[email protected]>2007-07-18 08:32:09 +0000
committerbrianmario <[email protected]>2007-07-18 08:32:09 +0000
commit2ffb589f0bd275962e526c673b01d7d08237245d (patch)
tree4ed35989279524a7121a42841f372d803a2995bb /win/C#/frmReadDVD.cs
parenta0985795ca8a5f003272f713c57cd208b8097872 (diff)
WinGui:
continued adding to CLI manager code updated frmDvdInfo to display data parsed from STDOUT/STDERR minor updates to form constructors git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@708 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmReadDVD.cs')
-rw-r--r--win/C#/frmReadDVD.cs9
1 files changed, 3 insertions, 6 deletions
diff --git a/win/C#/frmReadDVD.cs b/win/C#/frmReadDVD.cs
index 62a1563cc..2958bdf65 100644
--- a/win/C#/frmReadDVD.cs
+++ b/win/C#/frmReadDVD.cs
@@ -18,6 +18,7 @@ namespace Handbrake
private frmMain mainWindow;
private frmDvdInfo dvdInfo;
private Parsing.DVD thisDvd;
+ private Process hbProc;
private delegate void UpdateUIHandler();
public frmReadDVD(string inputFile, frmMain parent, frmDvdInfo dvdInfoWindow)
@@ -50,10 +51,6 @@ namespace Handbrake
mainWindow.drp_dvdtitle.Items.Clear();
mainWindow.drp_dvdtitle.Items.AddRange(thisDvd.Titles.ToArray());
- // Just a quick test to see if data can be pushed to frmDvdInfo.
- // What needs to happen here is the plaintext outout needs to be sent to the frmDvdInfo.
- dvdInfo.rtf_dvdInfo.Text = thisDvd.ToString();
-
this.Close();
}
@@ -62,10 +59,10 @@ namespace Handbrake
string query = "-i " + '"' + inputFile + '"' + " -t0";
Functions.CLI process = new Functions.CLI();
- Process hbProc = process.runCli(this, query, true, true, false, true);
+ hbProc = process.runCli(this, query, true, true, false, true);
Parsing.Parser readData = new Parsing.Parser(hbProc.StandardError.BaseStream);
- hbProc.WaitForExit();
+ //hbProc.WaitForExit();
hbProc.Close();
// Setup the parser