From 2e432bdd792739bb498313c36fce824f1debe278 Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Fri, 16 Oct 2015 11:27:08 -0700 Subject: grayscale: wingui changes --- win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeFactory.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'win/CS/HandBrakeWPF/Services') 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(), - 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 { -- cgit v1.2.3