Changeset 30617a8


Ignore:
Timestamp:
08/27/09 17:22:20 (7 years ago)
Author:
sr55 <sr55.hb@…>
Branches:
master
Children:
d72c71e
Parents:
7714ebb
Message:

WinGui:

  • Fix to the x264 panel related to 8x8dct.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2782 b64f7644-9d1e-0410-96f1-a4d463321fa5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • win/C#/Controls/x264Panel.cs

    r156bb68 r30617a8  
    2727            set { rtf_x264Query.Text = value; }
    2828        }
    29         public void setToolTipActive(Boolean active)
     29        private void setToolTipActive(Boolean active)
    3030        {
    3131            ToolTip.Active = active;
     
    410410                                continue;
    411411                            case "8x8dct":
    412                                 check_8x8DCT.CheckState = CheckState.Checked;
     412                                check_8x8DCT.CheckState = optValue == "1" ? CheckState.Checked : CheckState.Unchecked;
    413413                                continue;
    414414                            case "cabac":
     
    536536                        }
    537537                        else if (optNameToChange.Equals("mixed-refs"))
    538                             thisOpt = check_mixedReferences.CheckState == CheckState.Checked ? "mixed-refs=1" : "";
     538                            thisOpt = check_mixedReferences.CheckState == CheckState.Checked ? "mixed-refs=1" : "mixed-refs=0";
    539539                        else if (optNameToChange.Equals("weightb"))
    540540                            thisOpt = check_weightedBFrames.CheckState == CheckState.Checked ? "weightb=1" : "";
     
    546546                            thisOpt = check_noDCTDecimate.CheckState == CheckState.Checked ? "no-dct-decimate=1" : "";
    547547                        else if (optNameToChange.Equals("8x8dct"))
    548                             thisOpt = check_8x8DCT.CheckState == CheckState.Checked ? "8x8dct=1" : "";
     548                            thisOpt = check_8x8DCT.CheckState == CheckState.Checked ? "8x8dct=1" : "8x8dct=0";
    549549                        else if (optNameToChange.Equals("cabac"))
    550550                            thisOpt = check_Cabac.CheckState == CheckState.Checked ? "" : "cabac=0";
     
    803803                if (check_mixedReferences.CheckState == CheckState.Checked)
    804804                    query = query + colon + "mixed-refs=1";
     805                else
     806                    query = query + colon + "mixed-refs=0";
    805807            }
    806808            else if (optNameToChange.Equals("weightb"))
Note: See TracChangeset for help on using the changeset viewer.