summaryrefslogtreecommitdiffstats
path: root/win/C#/Functions/QueryParser.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2008-08-08 17:08:14 +0000
committersr55 <[email protected]>2008-08-08 17:08:14 +0000
commit2b82b98c040ab7579e5c5c07e20aa017c23d0fef (patch)
treecc90a5b58645cf65dbe5a92d6bcdea4326ea8910 /win/C#/Functions/QueryParser.cs
parent3144495e01f5f13faab892894d891309009b8278 (diff)
WinGui:
- Bug Fixes in QueryParser.cs and PresetLoader - Fixes a bug where an incorrect cropping option get's chosen when a preset is loaded. - No longer loads Source or destination from the preset. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1619 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Functions/QueryParser.cs')
-rw-r--r--win/C#/Functions/QueryParser.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/win/C#/Functions/QueryParser.cs b/win/C#/Functions/QueryParser.cs
index 8970a562f..ec07ba3d5 100644
--- a/win/C#/Functions/QueryParser.cs
+++ b/win/C#/Functions/QueryParser.cs
@@ -784,7 +784,7 @@ namespace Handbrake.Functions
#region Regular Expressions
//Source
- Regex r1 = new Regex(@"(-i)(?:\s\"")([a-zA-Z0-9:\\\s\.]+)(?:\"")");
+ Regex r1 = new Regex(@"(-i)(?:\s\"")([a-zA-Z0-9_\-:\\\s\.]+)(?:\"")");
Match source = r1.Match(input.Replace('"', '\"'));
Match title = Regex.Match(input, @"-t ([0-9]*)");
Match chapters = Regex.Match(input, @"-c ([0-9-]*)");
@@ -1238,9 +1238,7 @@ namespace Handbrake.Functions
//H264 Tab
//
if (x264.Success != false)
- {
thisQuery.q_h264 = x264.ToString().Replace("-x ", "");
- }
//
//Progam Options
@@ -1275,7 +1273,6 @@ namespace Handbrake.Functions
return "Automatic";
}
}
-
private static string getAudioEncoder(string audioEnc)
{
switch (audioEnc)