summaryrefslogtreecommitdiffstats
path: root/win/C#/Properties
diff options
context:
space:
mode:
authorsr55 <[email protected]>2010-08-20 19:15:16 +0000
committersr55 <[email protected]>2010-08-20 19:15:16 +0000
commita2fd1bd46d791f0fb85651955965aa124cb01f8f (patch)
tree014cbad8558b16801f10b38250544c9a22c2ccc0 /win/C#/Properties
parentc000040c0837325b5081e699a17743e1eb74c3eb (diff)
WinGui:
- Added new audio/subs option: "Use Preferred Language for Audio and Subtitles" and "Add Closed Captions when available" Thanks to Shatian for the Patch! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3485 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Properties')
-rw-r--r--win/C#/Properties/Settings.Designer.cs20
-rw-r--r--win/C#/Properties/Settings.settings7
2 files changed, 21 insertions, 6 deletions
diff --git a/win/C#/Properties/Settings.Designer.cs b/win/C#/Properties/Settings.Designer.cs
index 3ff94a01d..55a189161 100644
--- a/win/C#/Properties/Settings.Designer.cs
+++ b/win/C#/Properties/Settings.Designer.cs
@@ -372,13 +372,13 @@ namespace Handbrake.Properties {
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Configuration.DefaultSettingValueAttribute("False")]
- public bool DubAudio {
+ [global::System.Configuration.DefaultSettingValueAttribute("0")]
+ public int DubMode {
get {
- return ((bool)(this["DubAudio"]));
+ return ((int)(this["DubMode"]));
}
set {
- this["DubAudio"] = value;
+ this["DubMode"] = value;
}
}
@@ -524,5 +524,17 @@ namespace Handbrake.Properties {
this["preventSleep"] = value;
}
}
+
+ [global::System.Configuration.UserScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.DefaultSettingValueAttribute("False")]
+ public bool useClosedCaption {
+ get {
+ return ((bool)(this["useClosedCaption"]));
+ }
+ set {
+ this["useClosedCaption"] = value;
+ }
+ }
}
}
diff --git a/win/C#/Properties/Settings.settings b/win/C#/Properties/Settings.settings
index e4a9fb5b3..d5c5582e6 100644
--- a/win/C#/Properties/Settings.settings
+++ b/win/C#/Properties/Settings.settings
@@ -89,8 +89,8 @@
<Setting Name="NativeLanguage" Type="System.String" Scope="User">
<Value Profile="(Default)">Any</Value>
</Setting>
- <Setting Name="DubAudio" Type="System.Boolean" Scope="User">
- <Value Profile="(Default)">False</Value>
+ <Setting Name="DubMode" Type="System.Int32" Scope="User">
+ <Value Profile="(Default)">0</Value>
</Setting>
<Setting Name="hb_platform" Type="System.String" Scope="User">
<Value Profile="(Default)" />
@@ -128,5 +128,8 @@
<Setting Name="preventSleep" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
+ <Setting Name="useClosedCaption" Type="System.Boolean" Scope="User">
+ <Value Profile="(Default)">False</Value>
+ </Setting>
</Settings>
</SettingsFile> \ No newline at end of file