From 5cda1bddd652201dfc0eec882e168b80b66ddccc Mon Sep 17 00:00:00 2001 From: sr55 Date: Tue, 26 May 2009 22:38:29 +0000 Subject: WinGui: - Update query parser to support the updated Audio Panel git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2455 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/C#/Functions/QueryGenerator.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'win/C#') diff --git a/win/C#/Functions/QueryGenerator.cs b/win/C#/Functions/QueryGenerator.cs index 224a05f1a..bab608c57 100644 --- a/win/C#/Functions/QueryGenerator.cs +++ b/win/C#/Functions/QueryGenerator.cs @@ -267,29 +267,29 @@ namespace Handbrake.Functions tracks.Add("1"); else if (row.Text != "None") { - string[] tempSub = row.Text.Split(' '); + string[] tempSub = row.SubItems[1].Text.Split(' '); tracks.Add(tempSub[0]); } // Audio Codec (-E) if (row.SubItems[1].Text != String.Empty) - codecs.Add(getAudioEncoder(row.SubItems[1].Text)); + codecs.Add(getAudioEncoder(row.SubItems[2].Text)); // Audio Mixdown (-6) if (row.SubItems[2].Text != String.Empty) - mixdowns.Add(getMixDown(row.SubItems[2].Text)); + mixdowns.Add(getMixDown(row.SubItems[3].Text)); // Sample Rate (-R) if (row.SubItems[3].Text != String.Empty) - samplerates.Add(row.SubItems[3].Text.Replace("Auto", "Auto")); + samplerates.Add(row.SubItems[4].Text.Replace("Auto", "Auto")); // Audio Bitrate (-B) if (row.SubItems[4].Text != String.Empty) - bitrates.Add(row.SubItems[4].Text.Replace("Auto", "auto")); + bitrates.Add(row.SubItems[5].Text.Replace("Auto", "auto")); // DRC (-D) if (row.SubItems[5].Text != String.Empty) - drcs.Add(row.SubItems[5].Text); + drcs.Add(row.SubItems[6].Text); } // Audio Track (-a) -- cgit v1.2.3