diff options
author | sr55 <[email protected]> | 2009-08-27 17:22:20 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2009-08-27 17:22:20 +0000 |
commit | 30617a80ca06ec0f9efe3a377edd224ff65a5c1c (patch) | |
tree | d591290e558efc5ebef3f87923c5661e81043552 /win/C# | |
parent | 7714ebbc76fb9b0d2a5efb139079fb08d150ddb8 (diff) |
WinGui:
- Fix to the x264 panel related to 8x8dct.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2782 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#')
-rw-r--r-- | win/C#/Controls/x264Panel.cs | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/win/C#/Controls/x264Panel.cs b/win/C#/Controls/x264Panel.cs index 7313dc361..67da54485 100644 --- a/win/C#/Controls/x264Panel.cs +++ b/win/C#/Controls/x264Panel.cs @@ -26,7 +26,7 @@ namespace Handbrake.Controls get { return rtf_x264Query.Text; }
set { rtf_x264Query.Text = value; }
}
- public void setToolTipActive(Boolean active)
+ private void setToolTipActive(Boolean active)
{
ToolTip.Active = active;
}
@@ -409,7 +409,7 @@ namespace Handbrake.Controls drop_analysis.SelectedItem = "All";
continue;
case "8x8dct":
- check_8x8DCT.CheckState = CheckState.Checked;
+ check_8x8DCT.CheckState = optValue == "1" ? CheckState.Checked : CheckState.Unchecked;
continue;
case "cabac":
check_Cabac.CheckState = CheckState.Unchecked;
@@ -535,7 +535,7 @@ namespace Handbrake.Controls }
}
else if (optNameToChange.Equals("mixed-refs"))
- thisOpt = check_mixedReferences.CheckState == CheckState.Checked ? "mixed-refs=1" : "";
+ thisOpt = check_mixedReferences.CheckState == CheckState.Checked ? "mixed-refs=1" : "mixed-refs=0";
else if (optNameToChange.Equals("weightb"))
thisOpt = check_weightedBFrames.CheckState == CheckState.Checked ? "weightb=1" : "";
else if (optNameToChange.Equals("b-pyramid"))
@@ -545,7 +545,7 @@ namespace Handbrake.Controls else if (optNameToChange.Equals("no-dct-decimate"))
thisOpt = check_noDCTDecimate.CheckState == CheckState.Checked ? "no-dct-decimate=1" : "";
else if (optNameToChange.Equals("8x8dct"))
- thisOpt = check_8x8DCT.CheckState == CheckState.Checked ? "8x8dct=1" : "";
+ thisOpt = check_8x8DCT.CheckState == CheckState.Checked ? "8x8dct=1" : "8x8dct=0";
else if (optNameToChange.Equals("cabac"))
thisOpt = check_Cabac.CheckState == CheckState.Checked ? "" : "cabac=0";
else if (optNameToChange.Equals("me"))
@@ -802,6 +802,8 @@ namespace Handbrake.Controls {
if (check_mixedReferences.CheckState == CheckState.Checked)
query = query + colon + "mixed-refs=1";
+ else
+ query = query + colon + "mixed-refs=0";
}
else if (optNameToChange.Equals("weightb"))
{
|