diff options
author | sr55 <[email protected]> | 2007-07-30 17:46:01 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2007-07-30 17:46:01 +0000 |
commit | ac49c5787b8409495f513f58179e479ebc78f94e (patch) | |
tree | ef1a0c7641eda8692c948a1ce2aaf4e29409ebee /win/C#/frmMain.cs | |
parent | 4cd7a98940d50d371f62ba36dcb361623550c4a3 (diff) |
WinGui:
- Initial tempory workaround for the hbcli issue with the parser.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@762 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmMain.cs')
-rw-r--r-- | win/C#/frmMain.cs | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs index bcd0ef929..39d29ca3d 100644 --- a/win/C#/frmMain.cs +++ b/win/C#/frmMain.cs @@ -549,7 +549,7 @@ namespace Handbrake String filename ="";
text_source.Text = "";
- int scanTwice = 0;
+ //int scanTwice = 0;
if (RadioDVD.Checked)
{
@@ -578,7 +578,8 @@ namespace Handbrake // If there isn't any, rescan the DVD. hbcli occasionally fails (see bug in encode) with standard error.
if (filename != "")
{
- if (drp_dvdtitle.Items.Count == 0)
+ // Disbaled the 2nd pass for the time being.
+ /* if (drp_dvdtitle.Items.Count == 0)
{
if (scanTwice == 0)
{
@@ -588,7 +589,7 @@ namespace Handbrake frmRD.ShowDialog();
scanTwice = 1;
}
- }
+ }*/
}
else
{
@@ -597,7 +598,7 @@ namespace Handbrake if (drp_dvdtitle.Items.Count == 0)
{
- MessageBox.Show("No Title(s) found. Please make sure you have selected a valid, non-copy protected source. Please refer to the FAQ for details.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Hand);
+ MessageBox.Show("No Title(s) found. Please make sure you have selected a valid, non-copy protected source. Please refer to the FAQ (see Help Menu).", "Error", MessageBoxButtons.OK, MessageBoxIcon.Hand);
}
}
@@ -699,7 +700,7 @@ namespace Handbrake }
else
{
- hbProc = process.runCli(this, (string)state, false, false, false, false);
+ hbProc = process.runCli(this, (string)state, true, true, false, false);
MessageBox.Show("The encode process has now started.", "Status", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
@@ -713,17 +714,17 @@ namespace Handbrake // Maybe an issue with the Parser cauing the CLI to hickup/pause?
//*****************************************************************************************
- /*
- Parsing.Parser encode = new Parsing.Parser(hbProc.StandardError.BaseStream);
+
+ /*Parsing.Parser encode = new Parsing.Parser(hbProc.StandardError.BaseStream);
encode.OnEncodeProgress += encode_OnEncodeProgress;
while (!encode.EndOfStream)
{
encode.ReadLine();
- }*/
+ }
hbProc.WaitForExit();
process.closeCLI();
-
+ */
}
catch (Exception)
{
|