summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Model/Preset.cs5
-rw-r--r--win/CS/HandBrake.ApplicationServices/Services/PresetService.cs3
2 files changed, 1 insertions, 7 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Model/Preset.cs b/win/CS/HandBrake.ApplicationServices/Model/Preset.cs
index 8770e6d03..177b3c267 100644
--- a/win/CS/HandBrake.ApplicationServices/Model/Preset.cs
+++ b/win/CS/HandBrake.ApplicationServices/Model/Preset.cs
@@ -72,11 +72,6 @@ namespace HandBrake.ApplicationServices.Model
public EncodeTask Task { get; set; }
/// <summary>
- /// Gets or sets AudioPassthruSettings.
- /// </summary>
- public AllowedPassthru AudioPassthruSettings { get; set; }
-
- /// <summary>
/// Override the ToString Method
/// </summary>
/// <returns>
diff --git a/win/CS/HandBrake.ApplicationServices/Services/PresetService.cs b/win/CS/HandBrake.ApplicationServices/Services/PresetService.cs
index ea2794fe7..f22f84596 100644
--- a/win/CS/HandBrake.ApplicationServices/Services/PresetService.cs
+++ b/win/CS/HandBrake.ApplicationServices/Services/PresetService.cs
@@ -151,7 +151,6 @@ namespace HandBrake.ApplicationServices.Services
{
preset.Query = update.Query;
preset.Task = update.Task;
- preset.AudioPassthruSettings = update.AudioPassthruSettings;
preset.CropSettings = update.CropSettings;
preset.UsePictureFilters = update.UsePictureFilters;
@@ -316,7 +315,7 @@ namespace HandBrake.ApplicationServices.Services
Task = QueryParserUtility.Parse(presetName[2])
};
- newPreset.AudioPassthruSettings = new AllowedPassthru(false); // We don't want to override the built-in preset
+ newPreset.Task.AllowedPassthruOptions = new AllowedPassthru(false); // We don't want to override the built-in preset
if (newPreset.Name == "Normal")
{