drop_adaptBFrames.SelectedIndex = (badapt + 1);\r
continue;\r
case "weightb":\r
- check_weightedBFrames.CheckState = CheckState.Checked;\r
+ if (optValue != "0")\r
+ check_weightedBFrames.CheckState = CheckState.Checked;\r
+ else\r
+ check_weightedBFrames.CheckState = CheckState.Unchecked;\r
continue;\r
case "b-pyramid":\r
check_pyrmidalBFrames.CheckState = CheckState.Checked;\r
else if (optNameToChange.Equals("mixed-refs"))\r
thisOpt = check_mixedReferences.CheckState == CheckState.Checked ? "mixed-refs=1" : "mixed-refs=0";\r
else if (optNameToChange.Equals("weightb"))\r
- thisOpt = check_weightedBFrames.CheckState == CheckState.Checked ? "weightb=1" : "";\r
+ thisOpt = check_weightedBFrames.CheckState == CheckState.Checked ? "" : "weightb=0";\r
else if (optNameToChange.Equals("b-pyramid"))\r
thisOpt = check_pyrmidalBFrames.CheckState == CheckState.Checked ? "b-pyramid=1" : "";\r
else if (optNameToChange.Equals("no-fast-pskip"))\r
}\r
else if (optNameToChange.Equals("weightb"))\r
{\r
- if (check_weightedBFrames.CheckState == CheckState.Checked)\r
- query = query + colon + "weightb=1";\r
+ if (check_weightedBFrames.CheckState != CheckState.Checked)\r
+ query = query + colon + "weightb=0";\r
}\r
else if (optNameToChange.Equals("b-pyramid"))\r
{\r
this.check_m4v.AutoSize = true;\r
this.check_m4v.Location = new System.Drawing.Point(108, 279);\r
this.check_m4v.Name = "check_m4v";\r
- this.check_m4v.Size = new System.Drawing.Size(423, 17);\r
+ this.check_m4v.Size = new System.Drawing.Size(319, 17);\r
this.check_m4v.TabIndex = 82;\r
- this.check_m4v.Text = "Use iPod/iTunes friendly file extension (.m4v) for MP4 (See tooltip for more deta" +\r
- "ils)";\r
+ this.check_m4v.Text = "Always use iPod/iTunes friendly file extension (.m4v) for MP4";\r
this.ToolTip.SetToolTip(this.check_m4v, resources.GetString("check_m4v.ToolTip"));\r
this.check_m4v.UseVisualStyleBackColor = true;\r
this.check_m4v.CheckedChanged += new System.EventHandler(this.check_m4v_CheckedChanged);\r