diff options
Diffstat (limited to 'win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeFactory.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeFactory.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeFactory.cs b/win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeFactory.cs index 0e979f3d9..31688c334 100644 --- a/win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeFactory.cs +++ b/win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeFactory.cs @@ -396,7 +396,6 @@ namespace HandBrakeWPF.Services.Encode.Factories Filters filter = new Filters { FilterList = new List<Filter>(), - Grayscale = job.Grayscale }; // Detelecine @@ -506,6 +505,12 @@ namespace HandBrakeWPF.Services.Encode.Factories filter.FilterList.Add(filterItem); } + if (job.Grayscale) + { + Filter filterItem = new Filter { ID = (int)hb_filter_ids.HB_FILTER_GRAYSCALE, Settings = null }; + filter.FilterList.Add(filterItem); + } + // CropScale Filter Filter cropScale = new Filter { |