diff options
Diffstat (limited to 'win/CS/HandBrakeWPF/Converters')
-rw-r--r-- | win/CS/HandBrakeWPF/Converters/EnumComboConverter.cs | 24 |
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());
|