From 2d7ab4d15eb9ea450787831445cbf79d5192d18c Mon Sep 17 00:00:00 2001 From: sr55 Date: Sat, 10 Jan 2015 18:14:11 +0000 Subject: WinGui: - Fix the DRC call - Adding a HandBrake instance manager for scanning to make calls into the libhb helper methods easier. - Remove codecparam from the audio models git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6724 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/CS/HandBrake.ApplicationServices/Services/Scan/LibScan.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'win/CS/HandBrake.ApplicationServices/Services/Scan') diff --git a/win/CS/HandBrake.ApplicationServices/Services/Scan/LibScan.cs b/win/CS/HandBrake.ApplicationServices/Services/Scan/LibScan.cs index 90998ecc7..6d1dcb104 100644 --- a/win/CS/HandBrake.ApplicationServices/Services/Scan/LibScan.cs +++ b/win/CS/HandBrake.ApplicationServices/Services/Scan/LibScan.cs @@ -226,8 +226,7 @@ namespace HandBrake.ApplicationServices.Services.Scan this.scanLog = new StreamWriter(this.dvdInfoPath); // Create a new HandBrake Instance. - this.instance = new HandBrakeInstance(); - this.instance.Initialize(1); + this.instance = HandBrakeInstanceManager.GetScanInstance(configuraiton.Verbosity); this.instance.ScanProgress += this.InstanceScanProgress; this.instance.ScanCompleted += this.InstanceScanCompleted; -- cgit v1.2.3