From 609dbfdcf8cda1035b1af3af6b2a2598d72d602d Mon Sep 17 00:00:00 2001 From: sr55 Date: Sun, 11 Sep 2011 13:32:33 +0000 Subject: WinGui: Some further work removing duplicate models, updating the libscan/encode services, fixes to the EnumHelper git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4215 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/CS/HandBrake.ApplicationServices/Utilities/PlistUtility.cs | 2 +- .../HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'win/CS/HandBrake.ApplicationServices/Utilities') diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/PlistUtility.cs b/win/CS/HandBrake.ApplicationServices/Utilities/PlistUtility.cs index e0152489f..30b752d7d 100644 --- a/win/CS/HandBrake.ApplicationServices/Utilities/PlistUtility.cs +++ b/win/CS/HandBrake.ApplicationServices/Utilities/PlistUtility.cs @@ -559,7 +559,7 @@ namespace HandBrake.ApplicationServices.Utilities // Video Settings AddEncodeElement(xmlWriter, "VideoAvgBitrate", "string", parsed.VideoBitrate.ToString()); - AddEncodeElement(xmlWriter, "VideoEncoder", "string", EnumHelper.GetDisplayValue(parsed.VideoEncoder)); + AddEncodeElement(xmlWriter, "VideoEncoder", "string", EnumHelper.GetDisplay(parsed.VideoEncoder)); AddEncodeElement(xmlWriter, "VideoFramerate", "string", parsed.Framerate.ToString()); AddEncodeElement(xmlWriter, "VideFrameratePFR", "integer", parsed.FramerateMode == FramerateMode.PFR ? "1" : "0"); AddEncodeElement(xmlWriter, "VideoGrayScale", "integer", parsed.Grayscale ? "1" : "0"); diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs b/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs index bd923ff67..9835603cd 100644 --- a/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs +++ b/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs @@ -15,9 +15,6 @@ namespace HandBrake.ApplicationServices.Utilities using HandBrake.ApplicationServices.Model.Encoding; using HandBrake.Interop.Model.Encoding; - using AudioEncoder = HandBrake.ApplicationServices.Model.Encoding.AudioEncoder; - using Mixdown = HandBrake.ApplicationServices.Model.Encoding.Mixdown; - /* * TODO: * 1. Handle Subittles -- cgit v1.2.3