diff options
Diffstat (limited to 'win/C#')
-rw-r--r-- | win/C#/Controls/x264Panel.cs | 11 | ||||
-rw-r--r-- | win/C#/frmOptions.Designer.cs | 5 |
2 files changed, 9 insertions, 7 deletions
diff --git a/win/C#/Controls/x264Panel.cs b/win/C#/Controls/x264Panel.cs index 6df49e744..4229c8298 100644 --- a/win/C#/Controls/x264Panel.cs +++ b/win/C#/Controls/x264Panel.cs @@ -349,7 +349,10 @@ namespace Handbrake.Controls drop_adaptBFrames.SelectedIndex = (badapt + 1);
continue;
case "weightb":
- check_weightedBFrames.CheckState = CheckState.Checked;
+ if (optValue != "0")
+ check_weightedBFrames.CheckState = CheckState.Checked;
+ else
+ check_weightedBFrames.CheckState = CheckState.Unchecked;
continue;
case "b-pyramid":
check_pyrmidalBFrames.CheckState = CheckState.Checked;
@@ -521,7 +524,7 @@ namespace Handbrake.Controls else if (optNameToChange.Equals("mixed-refs"))
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" : "";
+ thisOpt = check_weightedBFrames.CheckState == CheckState.Checked ? "" : "weightb=0";
else if (optNameToChange.Equals("b-pyramid"))
thisOpt = check_pyrmidalBFrames.CheckState == CheckState.Checked ? "b-pyramid=1" : "";
else if (optNameToChange.Equals("no-fast-pskip"))
@@ -791,8 +794,8 @@ namespace Handbrake.Controls }
else if (optNameToChange.Equals("weightb"))
{
- if (check_weightedBFrames.CheckState == CheckState.Checked)
- query = query + colon + "weightb=1";
+ if (check_weightedBFrames.CheckState != CheckState.Checked)
+ query = query + colon + "weightb=0";
}
else if (optNameToChange.Equals("b-pyramid"))
{
diff --git a/win/C#/frmOptions.Designer.cs b/win/C#/frmOptions.Designer.cs index 5e9e23faa..85c5e1d0e 100644 --- a/win/C#/frmOptions.Designer.cs +++ b/win/C#/frmOptions.Designer.cs @@ -263,10 +263,9 @@ namespace Handbrake this.check_m4v.AutoSize = true;
this.check_m4v.Location = new System.Drawing.Point(108, 279);
this.check_m4v.Name = "check_m4v";
- this.check_m4v.Size = new System.Drawing.Size(423, 17);
+ this.check_m4v.Size = new System.Drawing.Size(319, 17);
this.check_m4v.TabIndex = 82;
- this.check_m4v.Text = "Use iPod/iTunes friendly file extension (.m4v) for MP4 (See tooltip for more deta" +
- "ils)";
+ this.check_m4v.Text = "Always use iPod/iTunes friendly file extension (.m4v) for MP4";
this.ToolTip.SetToolTip(this.check_m4v, resources.GetString("check_m4v.ToolTip"));
this.check_m4v.UseVisualStyleBackColor = true;
this.check_m4v.CheckedChanged += new System.EventHandler(this.check_m4v_CheckedChanged);
|