summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Services
diff options
context:
space:
mode:
authorsr55 <[email protected]>2017-06-07 19:38:42 +0100
committersr55 <[email protected]>2017-06-07 19:38:42 +0100
commit8750a04ef458722e8c4c9b3a3af3ddfec9835619 (patch)
tree66c1b018ebdaaf3c1d0e0251dcd42ed9ecf7f34e /win/CS/HandBrakeWPF/Services
parentdf14a47fb003a61ddfed185c5cdc5a4901ab1bac (diff)
Remove the OpenCL Bicubic scaling option. Unfortunatly it's causing too many problems and it's maximum 5% performance improvement (in ideal circumstances) doesn't justify the effort to continue with it. The OpenCL framework will remain in place in case we decide to use it for something in the future. Closes #690
Diffstat (limited to 'win/CS/HandBrakeWPF/Services')
-rw-r--r--win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeFactory.cs2
-rw-r--r--win/CS/HandBrakeWPF/Services/Scan/LibScan.cs2
2 files changed, 1 insertions, 3 deletions
diff --git a/win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeFactory.cs b/win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeFactory.cs
index efa595c4b..20e4eff14 100644
--- a/win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeFactory.cs
+++ b/win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeFactory.cs
@@ -302,8 +302,6 @@ namespace HandBrakeWPF.Services.Encode.Factories
video.Turbo = job.TurboFirstPass;
}
- video.OpenCL = configuration.ScalingMode == VideoScaler.BicubicCl;
-
video.QSV.Decode = SystemInfo.IsQsvAvailable && !configuration.DisableQuickSyncDecoding;
// The use of the QSV decoder is configurable for non QSV encoders.
diff --git a/win/CS/HandBrakeWPF/Services/Scan/LibScan.cs b/win/CS/HandBrakeWPF/Services/Scan/LibScan.cs
index 955e769ed..de104924f 100644
--- a/win/CS/HandBrakeWPF/Services/Scan/LibScan.cs
+++ b/win/CS/HandBrakeWPF/Services/Scan/LibScan.cs
@@ -261,7 +261,7 @@ namespace HandBrakeWPF.Services.Scan
HandBrakeUtils.SetDvdNav(!configuraiton.IsDvdNavDisabled);
this.ServiceLogMessage("Starting Scan ...");
- this.instance.StartScan(sourcePath.ToString(), previewCount, minDuration, title != 0 ? title : 0, configuraiton.ScalingMode == VideoScaler.BicubicCl);
+ this.instance.StartScan(sourcePath.ToString(), previewCount, minDuration, title != 0 ? title : 0);
if (this.ScanStarted != null)
this.ScanStarted(this, System.EventArgs.Empty);