summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Services/Scan
diff options
context:
space:
mode:
authorsr55 <[email protected]>2015-01-10 18:14:11 +0000
committersr55 <[email protected]>2015-01-10 18:14:11 +0000
commit2d7ab4d15eb9ea450787831445cbf79d5192d18c (patch)
treedbc3547f778aecfd0ee35cd065d54971260f92a5 /win/CS/HandBrake.ApplicationServices/Services/Scan
parent0c5b67ec4b331028bac27c6761ae371dc75391b2 (diff)
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
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Services/Scan')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Services/Scan/LibScan.cs3
1 files changed, 1 insertions, 2 deletions
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;