diff options
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Utilities')
3 files changed, 5 insertions, 5 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/PlistUtility.cs b/win/CS/HandBrake.ApplicationServices/Utilities/PlistUtility.cs index 91d474ab1..bea345106 100644 --- a/win/CS/HandBrake.ApplicationServices/Utilities/PlistUtility.cs +++ b/win/CS/HandBrake.ApplicationServices/Utilities/PlistUtility.cs @@ -312,10 +312,10 @@ namespace HandBrake.ApplicationServices.Utilities switch (qualityMode)
{
case "1": // Avg Bitrate
- parsed.VideoEncodeRateType = VideoEncodeRateMode.AverageBitrate;
+ parsed.VideoEncodeRateType = VideoEncodeRateType.AverageBitrate;
break;
case "2": // CQ
- parsed.VideoEncodeRateType = VideoEncodeRateMode.ConstantQuality;
+ parsed.VideoEncodeRateType = VideoEncodeRateType.ConstantQuality;
break;
}
#endregion
diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs b/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs index 7631da7de..934bc6c41 100644 --- a/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs +++ b/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs @@ -301,11 +301,11 @@ namespace HandBrake.ApplicationServices.Utilities switch (task.VideoEncodeRateType)
{
- case VideoEncodeRateMode.AverageBitrate:
+ case VideoEncodeRateType.AverageBitrate:
if (task.VideoBitrate.HasValue)
query += string.Format(" -b {0}", task.VideoBitrate.Value);
break;
- case VideoEncodeRateMode.ConstantQuality:
+ case VideoEncodeRateType.ConstantQuality:
double value;
switch (task.VideoEncoder)
{
diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/QueryParserUtility.cs b/win/CS/HandBrake.ApplicationServices/Utilities/QueryParserUtility.cs index 8b6394453..b52d72f56 100644 --- a/win/CS/HandBrake.ApplicationServices/Utilities/QueryParserUtility.cs +++ b/win/CS/HandBrake.ApplicationServices/Utilities/QueryParserUtility.cs @@ -310,7 +310,7 @@ namespace HandBrake.ApplicationServices.Utilities if (videoBitrate.Success)
{
- parsed.VideoEncodeRateType = VideoEncodeRateMode.AverageBitrate;
+ parsed.VideoEncodeRateType = VideoEncodeRateType.AverageBitrate;
parsed.VideoBitrate = int.Parse(videoBitrate.ToString().Replace("-b ", string.Empty));
}
|