diff options
author | sr55 <[email protected]> | 2009-12-26 22:47:50 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2009-12-26 22:47:50 +0000 |
commit | 3d294a01c523f1172e5dbd2a2923ea176e542729 (patch) | |
tree | 88fab80a4ba0730c93fd92840b9b0c370049fc97 /win/C#/Controls/Subtitles.cs | |
parent | 4a02ac01cd52134c1c613bd73d404db8dc3c237b (diff) |
WinGui:
- Select the first audio track instead of "Automatic" in the Audio Track Dropdown Menu.
- Cleaned up some subtitle code.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3046 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Controls/Subtitles.cs')
-rw-r--r-- | win/C#/Controls/Subtitles.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/win/C#/Controls/Subtitles.cs b/win/C#/Controls/Subtitles.cs index 80c7edb66..44159db55 100644 --- a/win/C#/Controls/Subtitles.cs +++ b/win/C#/Controls/Subtitles.cs @@ -383,8 +383,14 @@ namespace Handbrake.Controls }
return false;
}
- public void SetSubtitleTrackAuto()
+ public void SetSubtitleTrackAuto(object[] subs)
{
+ drp_subtitleTracks.Items.Clear();
+ drp_subtitleTracks.Items.Add("Foreign Audio Search (Bitmap)");
+ drp_subtitleTracks.Items.AddRange(subs);
+ drp_subtitleTracks.SelectedIndex = 0;
+ Clear();
+
// Handle Native Language and "Dub Foreign language audio" and "Use Foreign language audio and Subtitles" Options
if (Properties.Settings.Default.NativeLanguage != "Any")
{
|