summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/ViewModels/AudioDefaultsViewModel.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/AudioDefaultsViewModel.cs')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/AudioDefaultsViewModel.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/AudioDefaultsViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/AudioDefaultsViewModel.cs
index fb107b64b..b60767f7f 100644
--- a/win/CS/HandBrakeWPF/ViewModels/AudioDefaultsViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/AudioDefaultsViewModel.cs
@@ -142,6 +142,20 @@ namespace HandBrakeWPF.ViewModels
/// </summary>
public BindingList<string> SelectedLangaugesToMove { get; private set; }
+ public bool AudioAllowMP2Pass
+ {
+ get
+ {
+ return this.Task.AllowedPassthruOptions.AudioAllowMP2Pass;
+ }
+
+ set
+ {
+ this.task.AllowedPassthruOptions.AudioAllowMP2Pass = value;
+ this.NotifyOfPropertyChange(() => this.AudioAllowMP2Pass);
+ }
+ }
+
/// <summary>
/// Gets or sets a value indicating whether audio allow m p 3 pass.
/// </summary>
@@ -496,6 +510,7 @@ namespace HandBrakeWPF.ViewModels
this.task.AllowedPassthruOptions = new AllowedPassthru(preset.Task.AllowedPassthruOptions);
+ this.NotifyOfPropertyChange(() => this.AudioAllowMP2Pass);
this.NotifyOfPropertyChange(() => this.AudioAllowMP3Pass);
this.NotifyOfPropertyChange(() => this.AudioAllowAACPass);
this.NotifyOfPropertyChange(() => this.AudioAllowAC3Pass);