if (task.Anamorphic != Anamorphic.Strict)\r
{\r
if (task.MaxWidth.HasValue) query += string.Format(" -X {0}", task.MaxWidth);\r
- else if (task.Width.HasValue && task.Width != 0) query += string.Format(" -w {0}", task.Width);\r
+ if (task.Width.HasValue && task.Width != 0) query += string.Format(" -w {0}", task.Width);\r
\r
- if (task.MaxWidth.HasValue) query += string.Format(" -Y {0}", task.MaxHeight);\r
- else if (task.Height.HasValue && task.Height != 0) query += string.Format(" -l {0}", task.Height);\r
+ if (task.MaxHeight.HasValue) query += string.Format(" -Y {0}", task.MaxHeight);\r
+ if (task.Height.HasValue && task.Height != 0) query += string.Format(" -l {0}", task.Height);\r
}\r
\r
if (task.HasCropping)\r