summaryrefslogtreecommitdiffstats
path: root/win/C#/Functions/QueryParser.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2007-11-16 22:49:34 +0000
committersr55 <[email protected]>2007-11-16 22:49:34 +0000
commitaf3277fd9e511b768a083bc77023e2e0437578fc (patch)
treec5611438d5797c44acdc909f9b8e12203e133c5f /win/C#/Functions/QueryParser.cs
parent9f0ec015e60bdfefb0956cd45a762c04d2d8bcb0 (diff)
WinGUI:
- Image file updated in about window (due to removal of images folder) - frmDvdInfo has few small design tweaks - Few fixes in the Query Parser - Build number added to application Settings.Designer. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1065 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Functions/QueryParser.cs')
-rw-r--r--win/C#/Functions/QueryParser.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/win/C#/Functions/QueryParser.cs b/win/C#/Functions/QueryParser.cs
index 681602ec4..6723420be 100644
--- a/win/C#/Functions/QueryParser.cs
+++ b/win/C#/Functions/QueryParser.cs
@@ -483,8 +483,7 @@ namespace Handbrake.Functions
Match title = Regex.Match(input, @"-t ([0-9]*)");
Match chapters = Regex.Match(input, @"-c ([0-9-]*)");
Match format = Regex.Match(input, @"-f ([a-z0-9a-z0-9a-z0-9]*)");
- //-f mp4
-
+
//Destination
Regex r2 = new Regex(@"(-o)(?:\s\"")([a-zA-Z0-9:\\\s\.]+)(?:\"")");
Match destination = r2.Match(input.Replace('"', '\"'));
@@ -697,6 +696,10 @@ namespace Handbrake.Functions
{
thisQuery.q_videoFramerate = videoFramerate.ToString().Replace("-r ", "");
}
+ else
+ {
+ thisQuery.q_videoFramerate = "Automatic";
+ }
if (videoBitrate.Success != false)
{
thisQuery.q_avgBitrate = videoBitrate.ToString().Replace("-b ", "");