diff options
Diffstat (limited to 'win/C#/Functions/Common.cs')
-rw-r--r-- | win/C#/Functions/Common.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/win/C#/Functions/Common.cs b/win/C#/Functions/Common.cs index 4945d4da6..8f874aaa3 100644 --- a/win/C#/Functions/Common.cs +++ b/win/C#/Functions/Common.cs @@ -128,6 +128,11 @@ namespace Handbrake.Functions mainWindow.drp_deInterlace_option.Text = presetQuery.DeInterlace;
mainWindow.drp_deNoise.Text = presetQuery.DeNoise;
+ if (presetQuery.Decomb == true)
+ mainWindow.check_decomb.CheckState = CheckState.Checked;
+ else
+ mainWindow.check_decomb.CheckState = CheckState.Unchecked;
+
if (presetQuery.DeTelecine == true)
mainWindow.check_detelecine.CheckState = CheckState.Checked;
else
@@ -153,7 +158,6 @@ namespace Handbrake.Functions mainWindow.drp_anamorphic.SelectedIndex = 0;
}
-
if (presetQuery.Width != 0)
mainWindow.text_width.Text = presetQuery.Width.ToString();
else
@@ -555,6 +559,9 @@ namespace Handbrake.Functions break;
}
+ if (mainWindow.check_decomb.Checked)
+ query += " --decomb ";
+
if (mainWindow.check_grayscale.Checked)
query += " -g ";
|