diff options
author | sr55 <[email protected]> | 2010-08-20 19:15:16 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2010-08-20 19:15:16 +0000 |
commit | a2fd1bd46d791f0fb85651955965aa124cb01f8f (patch) | |
tree | 014cbad8558b16801f10b38250544c9a22c2ccc0 /win/C#/Properties | |
parent | c000040c0837325b5081e699a17743e1eb74c3eb (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.cs | 20 | ||||
-rw-r--r-- | win/C#/Properties/Settings.settings | 7 |
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 |