From: sr55 Date: Sun, 1 Feb 2009 19:58:44 +0000 (+0000) Subject: WinGui: X-Git-Tag: 0.9.4~844 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=246422f2c71fc79decf7c15bbae144214bfdf8ba;p=handbrake WinGui: - Remove old restriction on loose anamorphic. - Fix an issue with the new audio panel which would allow incompatible audio codecs with containers. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2113 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs index 00e5515c4..4cad19528 100644 --- a/win/C#/frmMain.cs +++ b/win/C#/frmMain.cs @@ -1029,8 +1029,6 @@ namespace Handbrake check_iPodAtom.Enabled = true; else check_iPodAtom.Enabled = false; - if (!drp_anamorphic.Items.Contains("Loose")) - drp_anamorphic.Items.Add("Loose"); } else { @@ -1040,8 +1038,6 @@ namespace Handbrake rtf_x264Query.Text = ""; check_iPodAtom.Enabled = false; check_iPodAtom.Checked = false; - if (drp_anamorphic.Items.Count == 3) - drp_anamorphic.Items.RemoveAt(2); } } @@ -1771,6 +1767,13 @@ namespace Handbrake if (drp_audenc_1.Text == string.Empty) drp_audenc_1.SelectedIndex = 0; } + + // Make sure the table is updated with new audio codecs + foreach (ListViewItem row in lv_audioList.Items) + { + if (!drp_audenc_1.Items.Contains(row.SubItems[1].Text)) + row.SubItems[1].Text = drp_audenc_1.Items[0].ToString(); + } } private void setVideoByContainer(String path) {