diff options
Diffstat (limited to 'win/C#/Model/Subtitle.cs')
-rw-r--r-- | win/C#/Model/Subtitle.cs | 11 |
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
|