diff options
Diffstat (limited to 'win/CS/HandBrakeWPF/Services')
-rw-r--r-- | win/CS/HandBrakeWPF/Services/SystemService.cs | 4 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/Services/UserSettingService.cs | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/win/CS/HandBrakeWPF/Services/SystemService.cs b/win/CS/HandBrakeWPF/Services/SystemService.cs index a2073cc98..d9fa46716 100644 --- a/win/CS/HandBrakeWPF/Services/SystemService.cs +++ b/win/CS/HandBrakeWPF/Services/SystemService.cs @@ -65,9 +65,9 @@ namespace HandBrakeWPF.Services private void StorageCheck() { string directory = this.encodeService.GetActiveJob()?.Destination; - if (!string.IsNullOrEmpty(directory) && this.encodeService.IsEncoding) + if (!string.IsNullOrEmpty(directory) && this.encodeService.IsEncoding) { - long lowLevel = this.userSettingService.GetUserSetting<long>(UserSettingConstants.PauseEncodeOnLowDiskspaceLevel); + long lowLevel = this.userSettingService.GetUserSetting<long>(UserSettingConstants.PauseQueueOnLowDiskspaceLevel); if (!this.storageLowPause && this.userSettingService.GetUserSetting<bool>(UserSettingConstants.PauseOnLowDiskspace) && !DriveUtilities.HasMinimumDiskSpace(directory, lowLevel)) { this.log.LogMessage( diff --git a/win/CS/HandBrakeWPF/Services/UserSettingService.cs b/win/CS/HandBrakeWPF/Services/UserSettingService.cs index 4e8a6267f..fb7c6185c 100644 --- a/win/CS/HandBrakeWPF/Services/UserSettingService.cs +++ b/win/CS/HandBrakeWPF/Services/UserSettingService.cs @@ -289,7 +289,6 @@ namespace HandBrakeWPF.Services defaults.Add(UserSettingConstants.DisableLibDvdNav, false);
defaults.Add(UserSettingConstants.PauseOnLowDiskspace, true);
defaults.Add(UserSettingConstants.PauseQueueOnLowDiskspaceLevel, 2000000000L);
- defaults.Add(UserSettingConstants.PauseEncodeOnLowDiskspaceLevel, 2000000000L);
defaults.Add(UserSettingConstants.PreviewScanCount, 10);
defaults.Add(UserSettingConstants.MinScanDuration, 10);
defaults.Add(UserSettingConstants.ProcessPriorityInt, 3);
|