summaryrefslogtreecommitdiffstats
path: root/win/C#/Functions/QueryParser.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/C#/Functions/QueryParser.cs')
-rw-r--r--win/C#/Functions/QueryParser.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/win/C#/Functions/QueryParser.cs b/win/C#/Functions/QueryParser.cs
index 6a39e0205..1599bdbcf 100644
--- a/win/C#/Functions/QueryParser.cs
+++ b/win/C#/Functions/QueryParser.cs
@@ -634,8 +634,8 @@ namespace Handbrake.Functions
//Picture Settings Tab
Match width = Regex.Match(input, @"-w ([0-9]*)");
Match height = Regex.Match(input, @"-l ([0-9]*)");
- Match deinterlace = Regex.Match(input, @"--deinterlace=([a-z]*)");
- Match denoise = Regex.Match(input, @"--denoise=([a-z]*)");
+ Match deinterlace = Regex.Match(input, @"--deinterlace=\""([a-zA-Z]*)\""");
+ Match denoise = Regex.Match(input, @"--denoise=\""([a-zA-Z]*)\""");
Match deblock = Regex.Match(input, @"--deblock");
Match detelecine = Regex.Match(input, @"--detelecine");
Match anamorphic = Regex.Match(input, @"-p ");
@@ -775,7 +775,7 @@ namespace Handbrake.Functions
thisQuery.q_deinterlace = "None";
if (deinterlace.Success != false)
{
- switch (deinterlace.ToString().Replace("--deinterlace=", ""))
+ switch (deinterlace.ToString().Replace("--deinterlace=", "").Replace("\"",""))
{
case "fast":
thisQuery.q_deinterlace = "Fast";