diff options
author | sr55 <[email protected]> | 2011-10-23 13:54:50 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2011-10-23 13:54:50 +0000 |
commit | 21f50a8bb97e2fe04a650b11a82f6b35f90f8aad (patch) | |
tree | 7d885fb41d6c2ee77d9c3c96b52dee3a201c44cf /win/CS/HandBrake.ApplicationServices/Utilities | |
parent | d750952f674316543f3623a11c552ce056ed2b25 (diff) |
WinGui: Add support for new decomb options.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4312 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Utilities')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Utilities/QueryParserUtility.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/QueryParserUtility.cs b/win/CS/HandBrake.ApplicationServices/Utilities/QueryParserUtility.cs index 29a2329f8..806a40f62 100644 --- a/win/CS/HandBrake.ApplicationServices/Utilities/QueryParserUtility.cs +++ b/win/CS/HandBrake.ApplicationServices/Utilities/QueryParserUtility.cs @@ -222,7 +222,8 @@ namespace HandBrake.ApplicationServices.Utilities parsed.Decomb = Decomb.Default;
if (decombValue.Success)
{
- parsed.CustomDecomb = decombValue.ToString().Replace("--decomb=", string.Empty).Replace("\"", string.Empty);
+ parsed.CustomDecomb = decombValue.ToString().Replace("--decomb=", string.Empty).Replace("\"", string.Empty).Trim();
+ parsed.Decomb = parsed.CustomDecomb == "7:2:6:9:1:80" ? Decomb.Fast : Decomb.Custom;
}
}
|