diff options
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs | 2 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/FiltersViewModel.cs | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs b/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs index db858c9f0..25d59529b 100644 --- a/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs +++ b/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs @@ -398,7 +398,7 @@ namespace HandBrake.ApplicationServices.Utilities break;
}
- if (task.Deblock != 0)
+ if (task.Deblock > 4)
query += string.Format(" --deblock={0}", task.Deblock);
if (task.Grayscale)
diff --git a/win/CS/HandBrakeWPF/ViewModels/FiltersViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/FiltersViewModel.cs index e99d2100a..fe9c4fabf 100644 --- a/win/CS/HandBrakeWPF/ViewModels/FiltersViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/FiltersViewModel.cs @@ -40,6 +40,7 @@ namespace HandBrakeWPF.ViewModels public FiltersViewModel(IWindowManager windowManager, IUserSettingService userSettingService)
{
this.CurrentTask = new EncodeTask();
+ this.DeblockValue = 4; // OFF
}
#endregion
@@ -350,7 +351,7 @@ namespace HandBrakeWPF.ViewModels this.SelectedDeInterlace = preset.Task.Deinterlace;
this.SelectedDetelecine = preset.Task.Detelecine;
this.Grayscale = preset.Task.Grayscale;
- this.DeblockValue = preset.Task.Deblock;
+ this.DeblockValue = preset.Task.Deblock == 0 ? 4 : preset.Task.Deblock;
// Custom Values
this.CustomDecomb = preset.Task.CustomDecomb;
|