summaryrefslogtreecommitdiffstats
path: root/win/C#/Functions/QueryParser.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2008-06-27 14:42:17 +0000
committersr55 <[email protected]>2008-06-27 14:42:17 +0000
commit45ce65f74863a7ee8d3ccf8978608794f2c91f42 (patch)
treed0ea243d7b678484994c22a66027008d93e12e21 /win/C#/Functions/QueryParser.cs
parent345c583574d3db3a664347304b8eb0495369ea69 (diff)
WinGui:
- Added: Resolution calculation for non anamorphic encodes in the GUI. - Added: Ability to minimize to the system tray. Includes popup notifications of encoding status. - Added: Duration calculation based on Title and selected chapters. - Added: Some more code comments and summaries - Change: Activity window now only refreshes if there is an active HandBrakeCLI.exe running. - Change: Browse button/ File mode checkbox for Source Selection Removed. Replaced with a Source Dropdown button in the main toolbar. (works a bit like the magui but still uses the 2 different dialog boxes) - Change: Removed "Recommended Crop" label and simply let the dropdown set the cropping values. Added DVD resolution Label. - Fixed: Preset loader now selects longest title and set's chapters to Auto. Before it would load in the last setting used which is bad. - Fixed bug in the presetLoader() function with the 2nd audio channel track selection. Final Note: Quite a bit of code has been moved around in this checkin to clear things up a bit. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1541 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Functions/QueryParser.cs')
-rw-r--r--win/C#/Functions/QueryParser.cs11
1 files changed, 8 insertions, 3 deletions
diff --git a/win/C#/Functions/QueryParser.cs b/win/C#/Functions/QueryParser.cs
index a4b2f5a95..c7998c5be 100644
--- a/win/C#/Functions/QueryParser.cs
+++ b/win/C#/Functions/QueryParser.cs
@@ -771,7 +771,13 @@ namespace Handbrake.Functions
#endregion
- // Takes in a query which can be in any order and parses it. All varibles are then set so they can be used elsewhere.
+ /// <summary>
+ /// Takes in a query which can be in any order and parses it.
+ /// All varibles are then set so they can be used elsewhere.
+ /// </summary>
+ /// <param name="input">A ClI Query</param>
+ /// <returns>A Parsed Query</returns>
+
public static QueryParser Parse(String input)
{
QueryParser thisQuery = new QueryParser();
@@ -807,7 +813,7 @@ namespace Handbrake.Functions
Match videoBitrate = Regex.Match(input, @"-b ([0-9]*)");
Match videoQuality = Regex.Match(input, @"-q ([0-9.]*)");
Match videoFilesize = Regex.Match(input, @"-S ([0-9.]*)");
- Match twoPass = Regex.Match(input, @" -2 ");
+ Match twoPass = Regex.Match(input, @" -2");
Match turboFirstPass = Regex.Match(input, @" -T");
Match grayscale = Regex.Match(input, @" -g");
Match largerMp4 = Regex.Match(input, @" -4");
@@ -1251,7 +1257,6 @@ namespace Handbrake.Functions
return thisQuery;
}
-
private static string getMixDown(string mixdown)
{
switch (mixdown)