From f8e7adc789a0a426907bad279c0c6741da32aba5 Mon Sep 17 00:00:00 2001 From: sr55 Date: Sat, 24 Aug 2013 16:40:26 +0000 Subject: WinGui: Additional fixes to libhb logging, libdvdnav option and min duration setting. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5745 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/CS/HandBrakeWPF/Services/ScanServiceWrapper.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'win/CS/HandBrakeWPF') diff --git a/win/CS/HandBrakeWPF/Services/ScanServiceWrapper.cs b/win/CS/HandBrakeWPF/Services/ScanServiceWrapper.cs index 701579d5b..073105694 100644 --- a/win/CS/HandBrakeWPF/Services/ScanServiceWrapper.cs +++ b/win/CS/HandBrakeWPF/Services/ScanServiceWrapper.cs @@ -45,10 +45,13 @@ namespace HandBrakeWPF.Services /// /// Initializes a new instance of the class. /// - public ScanServiceWrapper() + /// + /// The user Setting Service. + /// + public ScanServiceWrapper(IUserSettingService userSettingService) { HandbrakeInstance = new HandBrakeInstance(); - this.scanService = new LibScan(HandbrakeInstance); + this.scanService = new LibScan(HandbrakeInstance, userSettingService); this.scanService.ScanCompleted += this.ScanServiceScanCompleted; this.scanService.ScanStared += this.ScanServiceScanStared; this.scanService.ScanStatusChanged += this.ScanServiceScanStatusChanged; -- cgit v1.2.3