From 830bb18b173a1c68720eb0df2ed860daea7d4c7e Mon Sep 17 00:00:00 2001 From: sr55 Date: Tue, 19 Nov 2013 22:30:26 +0000 Subject: WinGui: Removed the need for the user settings service from IEncode and IScan interfaces and various other places. This makes the API much simpler to use. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5897 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/CS/HandBrakeWPF/Factories/HBConfigurationFactory.cs | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'win/CS/HandBrakeWPF/Factories/HBConfigurationFactory.cs') diff --git a/win/CS/HandBrakeWPF/Factories/HBConfigurationFactory.cs b/win/CS/HandBrakeWPF/Factories/HBConfigurationFactory.cs index 8c353bbdb..86f061eca 100644 --- a/win/CS/HandBrakeWPF/Factories/HBConfigurationFactory.cs +++ b/win/CS/HandBrakeWPF/Factories/HBConfigurationFactory.cs @@ -38,7 +38,17 @@ namespace HandBrakeWPF.Factories HBConfiguration config = new HBConfiguration { IsDvdNavDisabled = UserSettingService.GetUserSetting(UserSettingConstants.DisableLibDvdNav), - IsLoggingEnabled = isLoggingEnabled + IsLoggingEnabled = isLoggingEnabled, + DisableQuickSyncDecoding = UserSettingService.GetUserSetting(UserSettingConstants.DisableQuickSyncDecoding), + EnableDxva = UserSettingService.GetUserSetting(UserSettingConstants.EnableDxva), + ScalingMode = UserSettingService.GetUserSetting(UserSettingConstants.ScalingMode), + PreviewScanCount = UserSettingService.GetUserSetting(UserSettingConstants.PreviewScanCount), + Verbosity = UserSettingService.GetUserSetting(UserSettingConstants.Verbosity), + MinScanDuration = UserSettingService.GetUserSetting(UserSettingConstants.MinScanDuration), + ProcessPriority = UserSettingService.GetUserSetting(UserSettingConstants.ProcessPriority), + SaveLogToCopyDirectory = UserSettingService.GetUserSetting(UserSettingConstants.SaveLogToCopyDirectory), + SaveLogWithVideo = UserSettingService.GetUserSetting(UserSettingConstants.SaveLogWithVideo), + SaveLogCopyDirectory = UserSettingService.GetUserSetting(UserSettingConstants.SaveLogCopyDirectory), }; return config; -- cgit v1.2.3