summaryrefslogtreecommitdiffstats
path: root/win/C#/Functions/QueryParser.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2007-12-19 17:23:54 +0000
committersr55 <[email protected]>2007-12-19 17:23:54 +0000
commitf84d9ee74de109228ca6d8f56df05c8610e93e5f (patch)
tree0072965c3ed330b3f6a5fc7a78126f5c89bfd580 /win/C#/Functions/QueryParser.cs
parent9c8d19d4a50a59f28dbf5d8d29e21b09c36f294f (diff)
WinGui:
- Fixed issue where crop dropdown had no value on startup. - Fixed an Autoname bug where \ was addeded incorrectly. - Fixed bug where DRC was set incorrectly by preset parser. - Removed some old code which is no longer going to be used. - Changed De-Interlace options names to match MacGUI for consistency - Moved HTTP Optimization to Output Settings for consistency with MacGUI - Added form to show the generated query. Tools > Options > Show CLI Query - Added Chapter Markers tab which operates the same was as the MacGUI git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1134 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Functions/QueryParser.cs')
-rw-r--r--win/C#/Functions/QueryParser.cs13
1 files changed, 7 insertions, 6 deletions
diff --git a/win/C#/Functions/QueryParser.cs b/win/C#/Functions/QueryParser.cs
index 82670caae..fc85fb7ab 100644
--- a/win/C#/Functions/QueryParser.cs
+++ b/win/C#/Functions/QueryParser.cs
@@ -639,7 +639,6 @@ namespace Handbrake.Functions
thisQuery.q_chaptersStart = int.Parse(actTitles[0]);
if (actTitles.Length > 1)
{
- MessageBox.Show(actTitles[1]);
thisQuery.q_chaptersFinish = int.Parse(actTitles[1]);
}
@@ -739,16 +738,16 @@ namespace Handbrake.Functions
switch (deinterlace.ToString().Replace("--deinterlace=", ""))
{
case "fast":
- thisQuery.q_deinterlace = "Original (Fast)";
+ thisQuery.q_deinterlace = "Fast";
break;
case "slow":
- thisQuery.q_deinterlace = "yadif (Slow)";
+ thisQuery.q_deinterlace = "Slow";
break;
case "slower":
- thisQuery.q_deinterlace = "yadif + mcdeint (Slower)";
+ thisQuery.q_deinterlace = "Slower";
break;
case "slowest":
- thisQuery.q_deinterlace = "yadif + mcdeint (Slowest)";
+ thisQuery.q_deinterlace = "Slowest";
break;
default:
thisQuery.q_deinterlace = "None";
@@ -875,7 +874,9 @@ namespace Handbrake.Functions
if (drc.Success != false)
{
string value = drc.ToString().Replace("-D ", "");
- thisQuery.q_drc = double.Parse(value);
+ float drcValue = float.Parse(value);
+ drcValue = drcValue * 10;
+ thisQuery.q_drc = drcValue;
}
else
{