summaryrefslogtreecommitdiffstats
path: root/win/C#/Model
diff options
context:
space:
mode:
authorsr55 <[email protected]>2010-02-19 20:57:25 +0000
committersr55 <[email protected]>2010-02-19 20:57:25 +0000
commit5ac461efefc4220228002fb6d9cc8ecbaf9e8029 (patch)
tree4c48d792deef249a37c7931ab775e3c34607aa21 /win/C#/Model
parent42b5c877042e8882e27f34741013c4ff1f504d56 (diff)
WinGui:
- Some in progress re-factoring. - Enable Modulus for none/loose picture setting modes. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3127 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Model')
-rw-r--r--win/C#/Model/Subtitle.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/win/C#/Model/Subtitle.cs b/win/C#/Model/Subtitle.cs
index 69ddbbdd7..0eead5908 100644
--- a/win/C#/Model/Subtitle.cs
+++ b/win/C#/Model/Subtitle.cs
@@ -58,6 +58,17 @@ namespace Handbrake.Model
public string SrtFileName { get; set; }
/// <summary>
+ /// Returns if this is an SRT subtitle.
+ /// </summary>
+ public bool IsSrtSubtitle
+ {
+ get
+ {
+ return SrtFileName != "-";
+ }
+ }
+
+ /// <summary>
/// A ListViewItem Containing information about this subitlte
/// </summary>
public ListViewItem ListView