summaryrefslogtreecommitdiffstats
path: root/win/C#/Parsing/Title.cs
diff options
context:
space:
mode:
authorbrianmario <[email protected]>2007-07-11 02:24:48 +0000
committerbrianmario <[email protected]>2007-07-11 02:24:48 +0000
commit1f013f7fed5b0103afe4e33a860be91b2e94f660 (patch)
tree752287ade8c65dc22edac75af53d526081869d11 /win/C#/Parsing/Title.cs
parentec8aaeacdf2eebb162abb54f419035e10cdd2e73 (diff)
updated some Form.Show calls to Form.ShowDialog
updating frmReadDVD to throw CLI call on it's own thread to prevent UI lockup added ToString overrides in Parsing.AudioTrack, Parsing.Subtitle and Parsing.Title misc interface/notification updates to frmReadDVD upon starting the scan process git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@671 b64f7644-9d1e-0410-96f1-a4d463321fa5
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();