summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Utilities
diff options
context:
space:
mode:
authorsr55 <[email protected]>2011-07-16 15:45:38 +0000
committersr55 <[email protected]>2011-07-16 15:45:38 +0000
commit5045c6feeec292db6b538bfe4363c1e3790997fb (patch)
tree4e998dfaf92d9bf80ffbcfea29a0b0122ec909cc /win/CS/HandBrake.ApplicationServices/Utilities
parenta3ceaf6979ff137b3e71ebaeee3a52942aeac3fa (diff)
WinGui: Another duplicate model removed.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4110 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Utilities')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Utilities/PlistUtility.cs4
-rw-r--r--win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs4
-rw-r--r--win/CS/HandBrake.ApplicationServices/Utilities/QueryParserUtility.cs2
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));
}