From c4e3749dbc4f243094e6b5506159bf3a32eaa9fa Mon Sep 17 00:00:00 2001
From: sr55 <sr55.hb@outlook.com>
Date: Sun, 8 Jul 2018 14:19:27 +0100
Subject: [PATCH] WinGui: Tidy up some unused variables.

---
 win/CS/HandBrake.Interop/Interop/Json/Encode/Video.cs        | 5 -----
 win/CS/HandBrake.Interop/Interop/Json/Presets/HBPreset.cs    | 5 -----
 .../HandBrake.Interop/Interop/Model/Encoding/ScaleMethod.cs  | 5 -----
 .../Services/Presets/Factories/JsonPresetFactory.cs          | 1 -
 4 files changed, 16 deletions(-)

diff --git a/win/CS/HandBrake.Interop/Interop/Json/Encode/Video.cs b/win/CS/HandBrake.Interop/Interop/Json/Encode/Video.cs
index 992d67709..12525c3e5 100644
--- a/win/CS/HandBrake.Interop/Interop/Json/Encode/Video.cs
+++ b/win/CS/HandBrake.Interop/Interop/Json/Encode/Video.cs
@@ -77,11 +77,6 @@ namespace HandBrake.Interop.Interop.Json.Encode
         /// </summary>
         public string Tune { get; set; }
 
-        /// <summary>
-        /// Gets or sets a value indicating whether hw decode.
-        /// </summary>
-        public bool HWDecode { get; set; }
-
         /// <summary>
         /// Gets or sets the qsv.
         /// </summary>
diff --git a/win/CS/HandBrake.Interop/Interop/Json/Presets/HBPreset.cs b/win/CS/HandBrake.Interop/Interop/Json/Presets/HBPreset.cs
index 2ea758d5d..5db5552cf 100644
--- a/win/CS/HandBrake.Interop/Interop/Json/Presets/HBPreset.cs
+++ b/win/CS/HandBrake.Interop/Interop/Json/Presets/HBPreset.cs
@@ -338,11 +338,6 @@ namespace HandBrake.Interop.Interop.Json.Presets
         /// </summary>
         public bool VideoGrayScale { get; set; }
 
-        /// <summary>
-        /// Gets or sets a value indicating whether video hw decode.
-        /// </summary>
-        public bool VideoHWDecode { get; set; }
-
         /// <summary>
         /// Gets or sets the video scaler.
         /// </summary>
diff --git a/win/CS/HandBrake.Interop/Interop/Model/Encoding/ScaleMethod.cs b/win/CS/HandBrake.Interop/Interop/Model/Encoding/ScaleMethod.cs
index 8f62f3f22..8c1d32174 100644
--- a/win/CS/HandBrake.Interop/Interop/Model/Encoding/ScaleMethod.cs
+++ b/win/CS/HandBrake.Interop/Interop/Model/Encoding/ScaleMethod.cs
@@ -18,10 +18,5 @@ namespace HandBrake.Interop.Interop.Model.Encoding
         /// Standard software scaling. Highest quality.
         /// </summary>
         Lanczos = 0,
-
-        /// <summary>
-        /// OpenCL-assisted bicubic scaling.
-        /// </summary>
-        Bicubic = 1
     }
 }
diff --git a/win/CS/HandBrakeWPF/Services/Presets/Factories/JsonPresetFactory.cs b/win/CS/HandBrakeWPF/Services/Presets/Factories/JsonPresetFactory.cs
index 668b23694..cdb815d32 100644
--- a/win/CS/HandBrakeWPF/Services/Presets/Factories/JsonPresetFactory.cs
+++ b/win/CS/HandBrakeWPF/Services/Presets/Factories/JsonPresetFactory.cs
@@ -493,7 +493,6 @@ namespace HandBrakeWPF.Services.Presets.Factories
 
             /* Not Supported Yet */
             // public int VideoColorMatrixCode { get; set; }
-            // public bool VideoHWDecode { get; set; }
             // public string VideoScaler { get; set; }
             // public bool VideoQSVDecode { get; set; }
             // public int VideoQSVAsyncDepth { get; set; }
-- 
2.40.0