summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices
diff options
context:
space:
mode:
authorsr55 <[email protected]>2012-04-12 20:57:04 +0000
committersr55 <[email protected]>2012-04-12 20:57:04 +0000
commit7e30c376744239d22856895406c94a08c24c007a (patch)
treeda98844d37025d1f11dbb01d879e0ddbe082623e /win/CS/HandBrake.ApplicationServices
parent62ee548526fb578b9027ef0d9deac02e509872f8 (diff)
WinGui: Remove deprecated variable to avoid confusion.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4598 b64f7644-9d1e-0410-96f1-a4d463321fa5
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")
{