summaryrefslogtreecommitdiffstats
path: root/win/C#/Parsing/Title.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/C#/Parsing/Title.cs')
-rw-r--r--win/C#/Parsing/Title.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/win/C#/Parsing/Title.cs b/win/C#/Parsing/Title.cs
index 5df7a6bb4..99b32cd70 100644
--- a/win/C#/Parsing/Title.cs
+++ b/win/C#/Parsing/Title.cs
@@ -133,6 +133,12 @@ namespace Handbrake.Parsing
this.m_cellRange = new int[2];
}
+ public override string ToString()
+ {
+ return string.Format("{0} - {1}h{2}m{3}s", this.m_titleNumber, this.m_duration.Hours,
+ this.m_duration.Minutes, this.m_duration.Seconds);
+ }
+
public static Title Parse(StreamReader output)
{
Title thisTitle = new Title();