diff options
author | sr55 <[email protected]> | 2013-08-24 17:17:06 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2013-08-24 17:17:06 +0000 |
commit | bb5043c58b3a74fe87db12f1aaa7cbc6e2504824 (patch) | |
tree | 78a535b868dd7d8280a31752e32522fef3e53c7f /win/CS/HandBrakeWPF | |
parent | f8e7adc789a0a426907bad279c0c6741da32aba5 (diff) |
Interop: Few minor updates for QuickSync.
WinGui: Create a new instances of HandBrakeInstance for every new encode.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5746 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF')
-rw-r--r-- | win/CS/HandBrakeWPF/Services/ScanServiceWrapper.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/win/CS/HandBrakeWPF/Services/ScanServiceWrapper.cs b/win/CS/HandBrakeWPF/Services/ScanServiceWrapper.cs index 073105694..8180ac070 100644 --- a/win/CS/HandBrakeWPF/Services/ScanServiceWrapper.cs +++ b/win/CS/HandBrakeWPF/Services/ScanServiceWrapper.cs @@ -16,7 +16,6 @@ namespace HandBrakeWPF.Services using HandBrake.ApplicationServices.Parsing;
using HandBrake.ApplicationServices.Services;
using HandBrake.ApplicationServices.Services.Interfaces;
- using HandBrake.Interop;
using HandBrake.Interop.Interfaces;
/// <summary>
@@ -50,8 +49,7 @@ namespace HandBrakeWPF.Services /// </param>
public ScanServiceWrapper(IUserSettingService userSettingService)
{
- HandbrakeInstance = new HandBrakeInstance();
- this.scanService = new LibScan(HandbrakeInstance, userSettingService);
+ this.scanService = new LibScan(userSettingService);
this.scanService.ScanCompleted += this.ScanServiceScanCompleted;
this.scanService.ScanStared += this.ScanServiceScanStared;
this.scanService.ScanStatusChanged += this.ScanServiceScanStatusChanged;
|