diff options
author | sr55 <[email protected]> | 2012-03-17 14:19:22 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2012-03-17 14:19:22 +0000 |
commit | 18431b2f71d79d20a738ef8a400557a4222611f8 (patch) | |
tree | fe5020e010498847e096c488f31579853f6a97ad | |
parent | 7f407b7103577bd2ef85ef87eb1b633d59df4224 (diff) |
WinGui: (0.9.x) 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/branches/0.9.x@4507 b64f7644-9d1e-0410-96f1-a4d463321fa5
-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;
}
|