summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/ViewModels/SubtitlesViewModel.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2013-10-20 19:54:51 +0000
committersr55 <[email protected]>2013-10-20 19:54:51 +0000
commit48047d258d3c9f577440d0d8053b8eb0d7021ec7 (patch)
tree22fba1e9aacf00d1f4b90168130919ed8bea21ce /win/CS/HandBrakeWPF/ViewModels/SubtitlesViewModel.cs
parent02786e4cc8a6ac8edfad11ab216d4e65b1ebeff4 (diff)
WinGui: Add a "Add 'Foreign Audio Scan'" option to the Automatic Subtitle track selection feature.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5846 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/SubtitlesViewModel.cs')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/SubtitlesViewModel.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/SubtitlesViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/SubtitlesViewModel.cs
index feabc08f3..1e8e964e5 100644
--- a/win/CS/HandBrakeWPF/ViewModels/SubtitlesViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/SubtitlesViewModel.cs
@@ -245,6 +245,12 @@ namespace HandBrakeWPF.ViewModels
{
this.Task.SubtitleTracks.Clear();
+ // Add Foreign Audio Scan
+ if (this.UserSettingService.GetUserSetting<bool>(UserSettingConstants.AddForeignAudioScanTrack))
+ {
+ this.Add(ForeignAudioSearchTrack);
+ }
+
// New DUB Settings
int mode = this.UserSettingService.GetUserSetting<int>(UserSettingConstants.DubModeSubtitle);
switch (mode)