summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Converters
diff options
context:
space:
mode:
authorsr55 <[email protected]>2018-07-08 18:23:50 +0100
committersr55 <[email protected]>2018-07-08 18:23:50 +0100
commite3a2f723adc662f1ba5707cdeeea62449c70fd7d (patch)
tree4441e761ff13613831d0fafb93dc75747d239852 /win/CS/HandBrakeWPF/Converters
parente8c7818b83befe3a3e2fad73c61041b16d8d0055 (diff)
WinGui: Simplify the Deinterlace / Decomb / Interlace Detection Tab and associated code. Tweak the layout of the deinterlace controls to match the Mac/Linux UI's. Pull Presets from libhb.
Diffstat (limited to 'win/CS/HandBrakeWPF/Converters')
-rw-r--r--win/CS/HandBrakeWPF/Converters/EnumComboConverter.cs24
1 files changed, 0 insertions, 24 deletions
diff --git a/win/CS/HandBrakeWPF/Converters/EnumComboConverter.cs b/win/CS/HandBrakeWPF/Converters/EnumComboConverter.cs
index ff6f71156..644417b26 100644
--- a/win/CS/HandBrakeWPF/Converters/EnumComboConverter.cs
+++ b/win/CS/HandBrakeWPF/Converters/EnumComboConverter.cs
@@ -59,14 +59,6 @@ namespace HandBrakeWPF.Converters
{
return EnumHelper<PresetPictureSettingsMode>.GetEnumDisplayValues(typeof(PresetPictureSettingsMode));
}
- if (value is IEnumerable<Decomb>)
- {
- return EnumHelper<Decomb>.GetEnumDisplayValues(typeof(Decomb));
- }
- if (value is IEnumerable<Deinterlace>)
- {
- return EnumHelper<Deinterlace>.GetEnumDisplayValues(typeof(Deinterlace));
- }
if (value is IEnumerable<Detelecine>)
{
return EnumHelper<Detelecine>.GetEnumDisplayValues(typeof(Detelecine));
@@ -105,18 +97,10 @@ namespace HandBrakeWPF.Converters
{
return EnumHelper<PresetPictureSettingsMode>.GetDisplay((PresetPictureSettingsMode)value);
}
- if (targetType == typeof(Deinterlace) || value.GetType() == typeof(Deinterlace))
- {
- return EnumHelper<Deinterlace>.GetDisplay((Deinterlace)value);
- }
if (targetType == typeof(Detelecine) || value.GetType() == typeof(Detelecine))
{
return EnumHelper<Detelecine>.GetDisplay((Detelecine)value);
}
- if (targetType == typeof(Decomb) || value.GetType() == typeof(Decomb))
- {
- return EnumHelper<Decomb>.GetDisplay((Decomb)value);
- }
if (targetType == typeof(Denoise) || value.GetType() == typeof(Denoise))
{
return EnumHelper<Denoise>.GetDisplay((Denoise)value);
@@ -187,14 +171,6 @@ namespace HandBrakeWPF.Converters
{
return EnumHelper<Denoise>.GetValue(value.ToString());
}
- if (targetType == typeof(Decomb) || value.GetType() == typeof(Decomb))
- {
- return EnumHelper<Decomb>.GetValue(value.ToString());
- }
- if (targetType == typeof(Deinterlace) || value.GetType() == typeof(Deinterlace))
- {
- return EnumHelper<Deinterlace>.GetValue(value.ToString());
- }
if (targetType == typeof(Detelecine) || value.GetType() == typeof(Detelecine))
{
return EnumHelper<Detelecine>.GetValue(value.ToString());