diff options
author | sr55 <[email protected]> | 2013-08-17 20:38:18 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2013-08-17 20:38:18 +0000 |
commit | f319073778ba7f545a6c9d0a8dd07e3bf0e05aa8 (patch) | |
tree | 6fe7045222ed9a667e6c649b0808e49ae6d19ab0 /win/CS/HandBrake.ApplicationServices | |
parent | cc66e149da034cffaa48284532eec7e5b7ca72e8 (diff) |
WinGui: General code tidyup
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5705 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices')
6 files changed, 2 insertions, 17 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Factories/PlistPresetFactory.cs b/win/CS/HandBrake.ApplicationServices/Factories/PlistPresetFactory.cs index 6e738351a..e3daf4154 100644 --- a/win/CS/HandBrake.ApplicationServices/Factories/PlistPresetFactory.cs +++ b/win/CS/HandBrake.ApplicationServices/Factories/PlistPresetFactory.cs @@ -347,7 +347,7 @@ namespace HandBrake.ApplicationServices.Factories track.SampleRate = item.Value == "Auto" ? 0 : double.Parse(item.Value, CultureInfo.InvariantCulture);
break;
case "AudioTrack":
- //track.SourceTrack = value; We don't do anything with this one.
+ // track.SourceTrack = value; We don't do anything with this one.
break;
case "AudioTrackDRCSlider":
track.DRC = double.Parse(item.Value.ToString(), CultureInfo.InvariantCulture);
diff --git a/win/CS/HandBrake.ApplicationServices/Services/ServerService.cs b/win/CS/HandBrake.ApplicationServices/Services/ServerService.cs index 199e371a9..22d9e22a8 100644 --- a/win/CS/HandBrake.ApplicationServices/Services/ServerService.cs +++ b/win/CS/HandBrake.ApplicationServices/Services/ServerService.cs @@ -207,7 +207,7 @@ namespace HandBrake.ApplicationServices.Services if (host != null)
{
host.BeginClose(null, null);
- //host.Abort();
+ // host.Abort();
shutdownFlag.Set();
}
}
diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/Converters.cs b/win/CS/HandBrake.ApplicationServices/Utilities/Converters.cs index b290530dd..66a936d1f 100644 --- a/win/CS/HandBrake.ApplicationServices/Utilities/Converters.cs +++ b/win/CS/HandBrake.ApplicationServices/Utilities/Converters.cs @@ -386,12 +386,6 @@ namespace HandBrake.ApplicationServices.Utilities return x264Profile.Main;
case "high":
return x264Profile.High;
- //case "high10":
- // return x264Profile.High10;
- //case "high422":
- // return x264Profile.High422;
- //case "high444":
- // return x264Profile.High444;
default:
return x264Profile.Main;
}
diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/EnumHelper.cs b/win/CS/HandBrake.ApplicationServices/Utilities/EnumHelper.cs index 43667557b..371ef128f 100644 --- a/win/CS/HandBrake.ApplicationServices/Utilities/EnumHelper.cs +++ b/win/CS/HandBrake.ApplicationServices/Utilities/EnumHelper.cs @@ -129,9 +129,6 @@ namespace HandBrake.ApplicationServices.Utilities /// <param name="enumType">
/// The enum type.
/// </param>
- /// <typeparam name="T">
- /// The type of the enum
- /// </typeparam>
/// <returns>
/// A collection of strings that represent all the enum values
/// </returns>
@@ -149,9 +146,6 @@ namespace HandBrake.ApplicationServices.Utilities /// <param name="items">
/// The items.
/// </param>
- /// <typeparam name="T">
- /// The type of the enum
- /// </typeparam>
/// <returns>
/// A collection of strings that represent all the enum values
/// </returns>
diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs b/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs index e5849bd1c..040600207 100644 --- a/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs +++ b/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs @@ -261,10 +261,8 @@ namespace HandBrake.ApplicationServices.Utilities if (task.Anamorphic != Anamorphic.Strict)
{
- //if (task.MaxWidth.HasValue) query += string.Format(" -X {0}", task.MaxWidth);
if (task.Width.HasValue && task.Width != 0) query += string.Format(" -w {0}", task.Width);
- //if (task.MaxHeight.HasValue) query += string.Format(" -Y {0}", task.MaxHeight);
if (task.Height.HasValue && task.Height != 0) query += string.Format(" -l {0}", task.Height);
}
diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/Win7.cs b/win/CS/HandBrake.ApplicationServices/Utilities/Win7.cs index f1d78be6c..10ae1f296 100644 --- a/win/CS/HandBrake.ApplicationServices/Utilities/Win7.cs +++ b/win/CS/HandBrake.ApplicationServices/Utilities/Win7.cs @@ -11,7 +11,6 @@ namespace HandBrake.ApplicationServices.Utilities {
using System.Windows.Shell;
-
/// <summary>
/// A class implementing Windows 7 Specific features
/// </summary>
|