summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/X264ViewModel.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/X264ViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/X264ViewModel.cs
index 474e43d7e..b82e64c4e 100644
--- a/win/CS/HandBrakeWPF/ViewModels/X264ViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/X264ViewModel.cs
@@ -944,6 +944,12 @@ namespace HandBrakeWPF.ViewModels
this.Task = task;
this.Task.PropertyChanged += this.Task_PropertyChanged;
this.AdvancedOptionsString = preset.Task.AdvancedEncoderOptions;
+
+ if (task.ShowAdvancedTab && task.VideoEncoder == VideoEncoder.X264)
+ {
+ this.ShowX264AdvancedOptions = true;
+ this.NotifyOfPropertyChange(() => ShowX264AdvancedOptions);
+ }
}
/// <summary>