diff options
author | sr55 <[email protected]> | 2012-03-17 14:18:34 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2012-03-17 14:18:34 +0000 |
commit | f87e4ae9727bbb10040e5dd5cd99a6a7f1f4dd1d (patch) | |
tree | 993cc946253504194c28f25ffd7bb2e9ac9c073b /win/CS/HandBrake.ApplicationServices/Utilities | |
parent | 3353a0f4ee5b6f1c99ac6f3fdbca4c331cc25c5c (diff) |
WinGui: Fix an issue with the Query Parser Utility Class which would miss out x264 settings when importing presets.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4506 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Utilities')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs b/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs index 67717ecab..31947d657 100644 --- a/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs +++ b/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs @@ -827,6 +827,11 @@ namespace HandBrake.ApplicationServices.Utilities query += string.Format("--x264-tune={0} ", task.X264Tune.ToString().ToLower().Replace(" ", string.Empty));
}
+ if (!string.IsNullOrEmpty(task.AdvancedEncoderOptions))
+ {
+ query += string.Format(" -x {0}", task.AdvancedEncoderOptions);
+ }
+
return query;
}
|