summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Services/Encode/LibEncode.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrakeWPF/Services/Encode/LibEncode.cs')
-rw-r--r--win/CS/HandBrakeWPF/Services/Encode/LibEncode.cs7
1 files changed, 2 insertions, 5 deletions
diff --git a/win/CS/HandBrakeWPF/Services/Encode/LibEncode.cs b/win/CS/HandBrakeWPF/Services/Encode/LibEncode.cs
index 796ddac7b..1474df7e7 100644
--- a/win/CS/HandBrakeWPF/Services/Encode/LibEncode.cs
+++ b/win/CS/HandBrakeWPF/Services/Encode/LibEncode.cs
@@ -17,7 +17,6 @@ namespace HandBrakeWPF.Services.Encode
using HandBrake.Interop.Interop.Interfaces;
using HandBrake.Interop.Interop.Json.Encode;
using HandBrake.Interop.Interop.Json.State;
- using HandBrake.Interop.Interop.Providers.Interfaces;
using HandBrake.Interop.Model;
using HandBrakeWPF.Exceptions;
@@ -39,7 +38,6 @@ namespace HandBrakeWPF.Services.Encode
{
private readonly IUserSettingService userSettingService;
private readonly ILogInstanceManager logInstanceManager;
- private readonly IHbFunctionsProvider hbFunctionsProvider;
private readonly IPortService portService;
private readonly object portLock = new object();
private readonly EncodeTaskFactory encodeTaskFactory;
@@ -51,14 +49,13 @@ namespace HandBrakeWPF.Services.Encode
private bool isLoggingInitialised;
private int encodeCounter;
- public LibEncode(IHbFunctionsProvider hbFunctionsProvider, IUserSettingService userSettingService, ILogInstanceManager logInstanceManager, int encodeCounter, IPortService portService) : base(userSettingService)
+ public LibEncode(IUserSettingService userSettingService, ILogInstanceManager logInstanceManager, int encodeCounter, IPortService portService) : base(userSettingService)
{
this.userSettingService = userSettingService;
this.logInstanceManager = logInstanceManager;
- this.hbFunctionsProvider = hbFunctionsProvider;
this.encodeCounter = encodeCounter;
this.portService = portService;
- this.encodeTaskFactory = new EncodeTaskFactory(this.userSettingService, hbFunctionsProvider.GetHbFunctionsWrapper());
+ this.encodeTaskFactory = new EncodeTaskFactory(this.userSettingService);
}
public bool IsPasued { get; private set; }