summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Interop
diff options
context:
space:
mode:
authorScott <[email protected]>2015-10-24 22:34:31 +0100
committerScott <[email protected]>2015-10-24 22:34:31 +0100
commit054b9d9faf5334cb6c47b31784c87406b51e19fa (patch)
tree8a831aeedf1e9584730095f45ead8966a1ae1b10 /win/CS/HandBrake.ApplicationServices/Interop
parentcf1ebbc2087abe9ac9ac14c2284397db754b597c (diff)
Improving the Deinterlace / Decomb Filters Tab UI. Now uses the same "presets / custom" format that the other UI's do.
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Interop')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Interop/Model/Encoding/Decomb.cs11
-rw-r--r--win/CS/HandBrake.ApplicationServices/Interop/Model/Encoding/Deinterlace.cs13
-rw-r--r--win/CS/HandBrake.ApplicationServices/Interop/Model/Encoding/DeinterlaceFilter.cs28
3 files changed, 37 insertions, 15 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Interop/Model/Encoding/Decomb.cs b/win/CS/HandBrake.ApplicationServices/Interop/Model/Encoding/Decomb.cs
index 58e1003e3..eab94ef2a 100644
--- a/win/CS/HandBrake.ApplicationServices/Interop/Model/Encoding/Decomb.cs
+++ b/win/CS/HandBrake.ApplicationServices/Interop/Model/Encoding/Decomb.cs
@@ -16,19 +16,16 @@ namespace HandBrake.ApplicationServices.Interop.Model.Encoding
/// </summary>
public enum Decomb
{
- [ShortName("off")]
- Off = 0,
-
[ShortName("default")]
- Default = 2,
+ Default,
[ShortName("fast")]
- Fast = 3,
+ Fast,
[ShortName("bob")]
- Bob = 4,
+ Bob,
[ShortName("custom")]
- Custom = 1
+ Custom
}
}
diff --git a/win/CS/HandBrake.ApplicationServices/Interop/Model/Encoding/Deinterlace.cs b/win/CS/HandBrake.ApplicationServices/Interop/Model/Encoding/Deinterlace.cs
index f7b8f0a42..e8da93043 100644
--- a/win/CS/HandBrake.ApplicationServices/Interop/Model/Encoding/Deinterlace.cs
+++ b/win/CS/HandBrake.ApplicationServices/Interop/Model/Encoding/Deinterlace.cs
@@ -16,22 +16,19 @@ namespace HandBrake.ApplicationServices.Interop.Model.Encoding
/// </summary>
public enum Deinterlace
{
- [ShortName("off")]
- Off = 0,
-
[ShortName("fast")]
- Fast = 2,
+ Fast,
[ShortName("slow")]
- Slow = 3,
+ Slow,
[ShortName("slower")]
- Slower = 4,
+ Slower,
[ShortName("bob")]
- Bob = 5,
+ Bob,
[ShortName("custom")]
- Custom = 1
+ Custom
}
}
diff --git a/win/CS/HandBrake.ApplicationServices/Interop/Model/Encoding/DeinterlaceFilter.cs b/win/CS/HandBrake.ApplicationServices/Interop/Model/Encoding/DeinterlaceFilter.cs
new file mode 100644
index 000000000..27e8f4435
--- /dev/null
+++ b/win/CS/HandBrake.ApplicationServices/Interop/Model/Encoding/DeinterlaceFilter.cs
@@ -0,0 +1,28 @@
+// --------------------------------------------------------------------------------------------------------------------
+// <copyright file="Deinterlace.cs" company="HandBrake Project (http://handbrake.fr)">
+// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.
+// </copyright>
+// <summary>
+// Defines the Deinterlace type.
+// </summary>
+// --------------------------------------------------------------------------------------------------------------------
+
+namespace HandBrake.ApplicationServices.Interop.Model.Encoding
+{
+ using HandBrake.ApplicationServices.Attributes;
+
+ /// <summary>
+ /// The deinterlace.
+ /// </summary>
+ public enum DeinterlaceFilter
+ {
+ [ShortName("off")]
+ Off = 0,
+
+ [ShortName("Deinterlace")]
+ Deinterlace = 1,
+
+ [ShortName("Decomb")]
+ Decomb = 2
+ }
+}