summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Services/Presets
diff options
context:
space:
mode:
authorsr55 <[email protected]>2015-07-27 20:05:10 +0000
committersr55 <[email protected]>2015-07-27 20:05:10 +0000
commit9ae2a401aebbe47e6729912c38d03c713b110e70 (patch)
treea72541e095b808a485c4f326cf4c2b964b3b5b25 /win/CS/HandBrakeWPF/Services/Presets
parentd01146cc258985e5095de384fb3fe204c9ae734a (diff)
WinGui: remove the "use picture filters" checkbox in the add preset sheet.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7381 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/Services/Presets')
-rw-r--r--win/CS/HandBrakeWPF/Services/Presets/Factories/JsonPresetFactory.cs2
-rw-r--r--win/CS/HandBrakeWPF/Services/Presets/Model/Preset.cs5
-rw-r--r--win/CS/HandBrakeWPF/Services/Presets/PresetService.cs14
3 files changed, 0 insertions, 21 deletions
diff --git a/win/CS/HandBrakeWPF/Services/Presets/Factories/JsonPresetFactory.cs b/win/CS/HandBrakeWPF/Services/Presets/Factories/JsonPresetFactory.cs
index 4dedd9660..bdb4d1a82 100644
--- a/win/CS/HandBrakeWPF/Services/Presets/Factories/JsonPresetFactory.cs
+++ b/win/CS/HandBrakeWPF/Services/Presets/Factories/JsonPresetFactory.cs
@@ -47,7 +47,6 @@ namespace HandBrakeWPF.Services.Presets.Factories
Preset preset = new Preset();
preset.Name = importedPreset.PresetName;
preset.Description = importedPreset.PresetDescription;
- preset.UsePictureFilters = importedPreset.UsesPictureFilters;
preset.Task = new EncodeTask();
// Step 1, Create the EncodeTask Object that can be loaded into the UI.
@@ -408,7 +407,6 @@ namespace HandBrakeWPF.Services.Presets.Factories
preset.PresetDescription = export.Description;
preset.PresetName = export.Name;
preset.Type = 1; // User Preset
- preset.UsesPictureFilters = export.UsePictureFilters;
preset.UsesPictureSettings = (int)export.PictureSettingsMode;
preset.Default = false; // TODO Can other GUI's handle this?
diff --git a/win/CS/HandBrakeWPF/Services/Presets/Model/Preset.cs b/win/CS/HandBrakeWPF/Services/Presets/Model/Preset.cs
index 06d05e739..92aa27092 100644
--- a/win/CS/HandBrakeWPF/Services/Presets/Model/Preset.cs
+++ b/win/CS/HandBrakeWPF/Services/Presets/Model/Preset.cs
@@ -87,11 +87,6 @@ namespace HandBrakeWPF.Services.Presets.Model
public EncodeTask Task { get; set; }
/// <summary>
- /// Gets or sets a value indicating whether Picture Filters are used with this preset.
- /// </summary>
- public bool UsePictureFilters { get; set; }
-
- /// <summary>
/// Gets or sets The version number which associates this preset with a HB build
/// </summary>
public string Version { get; set; }
diff --git a/win/CS/HandBrakeWPF/Services/Presets/PresetService.cs b/win/CS/HandBrakeWPF/Services/Presets/PresetService.cs
index c47b101a1..9e1cba6ad 100644
--- a/win/CS/HandBrakeWPF/Services/Presets/PresetService.cs
+++ b/win/CS/HandBrakeWPF/Services/Presets/PresetService.cs
@@ -194,18 +194,6 @@ namespace HandBrakeWPF.Services.Presets
preset = JsonPresetFactory.ImportPreset(hbPreset);
preset.Category = UserPresetCatgoryName;
- // Depending on the selected preset options, we may need to change some settings around.
- // If the user chose not to use fitlers, remove them.
- if (!preset.UsePictureFilters)
- {
- preset.Task.Detelecine = Detelecine.Off;
- preset.Task.Denoise = Denoise.Off;
- preset.Task.Deinterlace = Deinterlace.Off;
- preset.Task.Decomb = Decomb.Off;
- preset.Task.Deblock = 0;
- preset.Task.Grayscale = false;
- }
-
// IF we are using Source Max, Set the Max Width / Height values.
if (preset.PictureSettingsMode == PresetPictureSettingsMode.SourceMaximum)
{
@@ -279,7 +267,6 @@ namespace HandBrakeWPF.Services.Presets
if (preset.Name == update.Name)
{
preset.Task = update.Task;
- preset.UsePictureFilters = update.UsePictureFilters;
preset.PictureSettingsMode = update.PictureSettingsMode;
preset.Category = update.Category;
preset.Description = update.Description;
@@ -400,7 +387,6 @@ namespace HandBrakeWPF.Services.Presets
{
Preset preset = JsonPresetFactory.ImportPreset(hbpreset);
preset.Version = VersionHelper.GetVersion();
- preset.UsePictureFilters = true;
preset.IsBuildIn = true; // Older versions did not have this flag so explicitly make sure it is set.
preset.Category = item.PresetName;