diff options
Diffstat (limited to 'win/CS/HandBrakeWPF/Services/Encode')
-rw-r--r-- | win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeFactory.cs | 4 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/Services/Encode/Model/EncodeTask.cs | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeFactory.cs b/win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeFactory.cs index 31688c334..80873c510 100644 --- a/win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeFactory.cs +++ b/win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeFactory.cs @@ -406,7 +406,7 @@ namespace HandBrakeWPF.Services.Encode.Factories } // Decomb - if (job.Decomb != Decomb.Off) + if (job.DeinterlaceFilter == DeinterlaceFilter.Decomb) { string options; if (job.Decomb == Decomb.Fast) @@ -427,7 +427,7 @@ namespace HandBrakeWPF.Services.Encode.Factories } // Deinterlace - if (job.Deinterlace != Deinterlace.Off) + if (job.DeinterlaceFilter == DeinterlaceFilter.Deinterlace) { string options; if (job.Deinterlace == Deinterlace.Fast) diff --git a/win/CS/HandBrakeWPF/Services/Encode/Model/EncodeTask.cs b/win/CS/HandBrakeWPF/Services/Encode/Model/EncodeTask.cs index f4d5a988e..8d7440f06 100644 --- a/win/CS/HandBrakeWPF/Services/Encode/Model/EncodeTask.cs +++ b/win/CS/HandBrakeWPF/Services/Encode/Model/EncodeTask.cs @@ -99,6 +99,7 @@ namespace HandBrakeWPF.Services.Encode.Model this.Deblock = task.Deblock; this.Decomb = task.Decomb; this.Deinterlace = task.Deinterlace; + this.DeinterlaceFilter = task.DeinterlaceFilter; this.Denoise = task.Denoise; this.DenoisePreset = task.DenoisePreset; this.DenoiseTune = task.DenoiseTune; @@ -278,6 +279,11 @@ namespace HandBrakeWPF.Services.Encode.Model #region Filters /// <summary> + /// Gets or sets Deinterlace Filter Mode + /// </summary> + public DeinterlaceFilter DeinterlaceFilter { get; set; } + + /// <summary> /// Gets or sets Deinterlace. /// </summary> public Deinterlace Deinterlace { get; set; } |