diff options
Diffstat (limited to 'win/CS/Controls/AudioPanel.cs')
-rw-r--r-- | win/CS/Controls/AudioPanel.cs | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/win/CS/Controls/AudioPanel.cs b/win/CS/Controls/AudioPanel.cs index 338cbb550..a3fb2889c 100644 --- a/win/CS/Controls/AudioPanel.cs +++ b/win/CS/Controls/AudioPanel.cs @@ -182,7 +182,7 @@ namespace Handbrake.Controls /// </summary>
/// <param name="selectedTitle">The selected title</param>
/// <param name="preset">A preset</param>
- public void SetTrackListFromPreset(Title selectedTitle, Preset preset)
+ public void SetTrackListAfterTitleChange(Title selectedTitle, Preset preset)
{
if (selectedTitle.AudioTracks.Count == 0)
{
@@ -575,6 +575,20 @@ namespace Handbrake.Controls return;
}
+ // If the Native Language is not set. Just set Track information in each output track.
+ if (Properties.Settings.Default.NativeLanguage == "Any")
+ {
+ drp_audioTrack.SelectedIndex = 0;
+ foreach (AudioTrack track in this.audioTracks)
+ {
+ if (this.drp_audioTrack.SelectedItem != null)
+ {
+ track.ScannedTrack = this.drp_audioTrack.SelectedItem as Audio;
+ }
+ }
+ return;
+ }
+
// Remove all old Audiotracks before adding new ones.
this.AudioTracks.Clear();
|