summaryrefslogtreecommitdiffstats
path: root/win/C#
diff options
context:
space:
mode:
authorsr55 <[email protected]>2009-05-26 22:38:29 +0000
committersr55 <[email protected]>2009-05-26 22:38:29 +0000
commit5cda1bddd652201dfc0eec882e168b80b66ddccc (patch)
tree5705aecfa6b4830079e7aab00cc9c643653d67bc /win/C#
parentdab4cbed725a789264014f8a5aeb19b3287b6195 (diff)
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
Diffstat (limited to 'win/C#')
-rw-r--r--win/C#/Functions/QueryGenerator.cs12
1 files changed, 6 insertions, 6 deletions
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)