diff options
author | sr55 <[email protected]> | 2014-08-10 14:43:30 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2014-08-10 14:43:30 +0000 |
commit | c7c2aa9ee6c73dcb6b693471945aeadb6ed09983 (patch) | |
tree | 235d27ab77746b7d3f73e895a17e193c9da800e7 /win/CS/HandBrakeWPF/ViewModels | |
parent | 1943a5c88df391171b59cb05106e57a60bf0efbf (diff) |
WinGui: Add new preset keys for the Audio and Subtitle default behaviours. Updated existing preset parser to work with the current version of the plist preset format.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6283 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/AudioViewModel.cs | 8 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/SubtitlesViewModel.cs | 4 |
2 files changed, 2 insertions, 10 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/AudioViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/AudioViewModel.cs index cc7570140..b297782f2 100644 --- a/win/CS/HandBrakeWPF/ViewModels/AudioViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/AudioViewModel.cs @@ -355,8 +355,6 @@ namespace HandBrakeWPF.ViewModels #region Implemented Interfaces
- #region ITabInterface
-
/// <summary>
/// Setup this tab for the specified preset.
/// </summary>
@@ -376,9 +374,9 @@ namespace HandBrakeWPF.ViewModels if (preset != null && preset.Task != null)
{
- this.SetupTracks();
-
this.Task.AllowedPassthruOptions = new AllowedPassthru(preset.Task.AllowedPassthruOptions);
+
+ this.SetupTracks();
}
this.NotifyOfPropertyChange(() => this.Task);
@@ -435,8 +433,6 @@ namespace HandBrakeWPF.ViewModels #endregion
- #endregion
-
#region Methods
/// <summary>
diff --git a/win/CS/HandBrakeWPF/ViewModels/SubtitlesViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/SubtitlesViewModel.cs index b279f95c5..0219c49af 100644 --- a/win/CS/HandBrakeWPF/ViewModels/SubtitlesViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/SubtitlesViewModel.cs @@ -494,8 +494,6 @@ namespace HandBrakeWPF.ViewModels #region Implemented Interfaces
- #region ITabInterface
-
/// <summary>
/// Setup this tab for the specified preset.
/// </summary>
@@ -557,8 +555,6 @@ namespace HandBrakeWPF.ViewModels #endregion
- #endregion
-
#region Methods
/// <summary>
|