summaryrefslogtreecommitdiffstats
path: root/win/C#/Functions
diff options
context:
space:
mode:
authorsr55 <[email protected]>2009-02-05 21:52:07 +0000
committersr55 <[email protected]>2009-02-05 21:52:07 +0000
commitadaec0754c7c57be772c4deb070d337c12b2454d (patch)
tree583a122fe31acd0f818fb617fec893423e184b8f /win/C#/Functions
parentb10c9cec2dd0426e6df05894d7888c0cea874a89 (diff)
WinGui:
- Picture filters now have their own tab. - Deinterlace, Decomb, Denoise and Detelecine are now custom controls with optional passthru string values - Preset system updated to handle new controls and custom string values for filters. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2121 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Functions')
-rw-r--r--win/C#/Functions/QueryParser.cs14
1 files changed, 7 insertions, 7 deletions
diff --git a/win/C#/Functions/QueryParser.cs b/win/C#/Functions/QueryParser.cs
index c255e6d6b..68bcac00f 100644
--- a/win/C#/Functions/QueryParser.cs
+++ b/win/C#/Functions/QueryParser.cs
@@ -774,15 +774,15 @@ namespace Handbrake.Functions
#endregion
- #region Picture Tab - Filters
+ #region Filters
+ thisQuery.q_decomb = "Off";
if (decomb.Success)
{
- thisQuery.q_decomb = "True";
+ thisQuery.q_decomb = "Default";
if (decombValue.Success)
thisQuery.q_decomb = decombValue.ToString().Replace("--decomb=", "").Replace("\"", "");
- } else
- thisQuery.q_decomb = "False";
+ }
thisQuery.q_deinterlace = "None";
if (deinterlace.Success)
@@ -806,14 +806,14 @@ namespace Handbrake.Functions
if (deblockValue != "")
int.TryParse(deblockValue, out thisQuery.q_deBlock);
+ thisQuery.q_detelecine = "Off";
if (detelecine.Success)
{
- thisQuery.q_detelecine = "True";
+ thisQuery.q_detelecine = "Default";
if (detelecineValue.Success)
thisQuery.q_detelecine = detelecineValue.ToString().Replace("--detelecine=", "").Replace("\"", "");
}
- else
- thisQuery.q_detelecine = "False";
+
#endregion
#region Video Settings Tab