diff options
author | John Stebbins <[email protected]> | 2015-10-16 11:27:08 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2015-10-16 11:27:08 -0700 |
commit | 2e432bdd792739bb498313c36fce824f1debe278 (patch) | |
tree | 846c018ba44db90cbdc729ce82eeeb8c6d819217 /win/CS/HandBrakeWPF | |
parent | eed929c17d0f00486299a1413ab5a58c49327b7c (diff) |
grayscale: wingui changes
Diffstat (limited to 'win/CS/HandBrakeWPF')
-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 { |