diff options
author | sr55 <[email protected]> | 2013-11-19 22:54:16 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2013-11-19 22:54:16 +0000 |
commit | c32a46c925608e51be9edcd6b5647c50124dd16a (patch) | |
tree | fcd2cb8c04f326d07145117bbc03f130d1170b60 /win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs | |
parent | 5e4d8c7244a85fafa7ae477f8378a0c56e7ba365 (diff) |
WinGui: Fix a large number of stylecop warnings.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5900 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs b/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs index 5552f1941..b1db2fcaa 100644 --- a/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs +++ b/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs @@ -263,10 +263,12 @@ namespace HandBrake.ApplicationServices.Utilities if (task.Height.HasValue && task.Height != 0) query += string.Format(" -l {0}", task.Height);
}
- //if (task.HasCropping)
- //{
- query += string.Format(" --crop {0}:{1}:{2}:{3}", task.Cropping.Top, task.Cropping.Bottom, task.Cropping.Left, task.Cropping.Right);
- //}
+ query += string.Format(
+ " --crop {0}:{1}:{2}:{3}",
+ task.Cropping.Top,
+ task.Cropping.Bottom,
+ task.Cropping.Left,
+ task.Cropping.Right);
switch (task.Anamorphic)
{
@@ -442,7 +444,6 @@ namespace HandBrake.ApplicationServices.Utilities query += string.Format(" -b {0}", task.VideoBitrate.Value);
break;
case VideoEncodeRateType.ConstantQuality:
- double value;
switch (task.VideoEncoder)
{
case VideoEncoder.FFMpeg:
|