diff options
author | sr55 <[email protected]> | 2014-03-28 22:32:23 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2014-03-28 22:32:23 +0000 |
commit | cdeb9b127b25fb5813666344799216052061ed4f (patch) | |
tree | 002ba0fbc78f978091625bf6e11cd9d6bcf41f60 /win | |
parent | 8368f8113e41d40543bcb674f97c17045c6538c2 (diff) |
WinGui: Update the Query Generator to use the new --encoder-{preset,tune,profile,level} options as per rev 6135
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6138 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs b/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs index a6567d308..33fe2c409 100644 --- a/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs +++ b/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs @@ -916,7 +916,7 @@ namespace HandBrake.ApplicationServices.Utilities if (task.X264Preset != x264Preset.Medium)
{
query += string.Format(
- " --x264-preset={0} ", task.X264Preset.ToString().ToLower().Replace(" ", string.Empty));
+ " --encoder-preset={0} ", task.X264Preset.ToString().ToLower().Replace(" ", string.Empty));
}
if (task.X264Tune != x264Tune.None)
@@ -934,7 +934,7 @@ namespace HandBrake.ApplicationServices.Utilities tune = string.IsNullOrEmpty(tune) ? tuneDropdown : string.Format(",{0}", tuneDropdown);
}
- query += string.Format(" --x264-tune=\"{0}\" ", tune);
+ query += string.Format(" --encoder-tune=\"{0}\" ", tune);
}
if (!string.IsNullOrEmpty(task.ExtraAdvancedArguments))
@@ -952,19 +952,19 @@ namespace HandBrake.ApplicationServices.Utilities if (task.X265Preset != x265Preset.VeryFast)
{
query += string.Format(
- " --x265-preset={0} ", task.X265Preset.ToString().ToLower().Replace(" ", string.Empty));
+ " --encoder-preset={0} ", task.X265Preset.ToString().ToLower().Replace(" ", string.Empty));
}
if (task.X265Tune != x265Tune.None)
{
query += string.Format(
- " --x265-tune=\"{0}\" ", task.X265Tune.ToString().ToLower().Replace(" ", string.Empty));
+ " --encoder-tune=\"{0}\" ", task.X265Tune.ToString().ToLower().Replace(" ", string.Empty));
}
if (task.H265Profile != x265Profile.None)
{
query += string.Format(
- " --h265-profile={0} ", task.H265Profile.ToString().ToLower().Replace(" ", string.Empty));
+ " --encoder-profile={0} ", task.H265Profile.ToString().ToLower().Replace(" ", string.Empty));
}
if (!string.IsNullOrEmpty(task.ExtraAdvancedArguments))
@@ -977,7 +977,7 @@ namespace HandBrake.ApplicationServices.Utilities // QSV Only
if (task.VideoEncoder == VideoEncoder.QuickSync)
{
- query += string.Format(" --qsv-preset={0}", task.QsvPreset.ToString().ToLower());
+ query += string.Format(" --encoder-preset={0}", task.QsvPreset.ToString().ToLower());
}
// options that apply to all encoders
@@ -994,12 +994,12 @@ namespace HandBrake.ApplicationServices.Utilities {
if (task.H264Level != "Auto")
{
- query += string.Format(" --h264-level=\"{0}\" ", task.H264Level);
+ query += string.Format(" --encoder-level=\"{0}\" ", task.H264Level);
}
if (task.H264Profile != x264Profile.None)
{
query += string.Format(
- " --h264-profile={0} ", task.H264Profile.ToString().ToLower().Replace(" ", string.Empty));
+ " --encoder-profile={0} ", task.H264Profile.ToString().ToLower().Replace(" ", string.Empty));
}
}
}
|