summaryrefslogtreecommitdiffstats
path: root/win/C#/Parsing/Title.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2009-05-04 22:40:46 +0000
committersr55 <[email protected]>2009-05-04 22:40:46 +0000
commitec848fee96e7cbfbb2037b1908978ebe45543e54 (patch)
treed861e2be4d7331f4d20c721aa684d2555d51130b /win/C#/Parsing/Title.cs
parent75d5f5f6e4064dae500ea3d3b034f3bfbf2393b8 (diff)
WinGui:
# New - Setup LibDVDNav option for scanning. # Directory and logging changes - The GUI now stores preset data in the systems user Application Data directory. This means that multi-user systems don't share the same single set of user presets. - A History of logs are automatically stored in the systems application data directory. - Changed the log preferences to make them a bit easier to understand. # Bugs / Typos - Fixed small bug in the version info regex parser. - Fixed typo on x264 tab - Fixed minor GUI issue on the Add Preset window (button transparency) - Fixed disable Query Editor tab option (Thanks tlindgren) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2383 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Parsing/Title.cs')
-rw-r--r--win/C#/Parsing/Title.cs12
1 files changed, 11 insertions, 1 deletions
diff --git a/win/C#/Parsing/Title.cs b/win/C#/Parsing/Title.cs
index 80736064b..39b8d3cfa 100644
--- a/win/C#/Parsing/Title.cs
+++ b/win/C#/Parsing/Title.cs
@@ -128,8 +128,18 @@ namespace Handbrake.Parsing
output.ReadLine();
- // Get duration for this title
+ if (Properties.Settings.Default.dvdnav == "Checked")
+ {
+ // Get the Angles for the title.
+ m = Regex.Match(output.ReadLine(), @" \+ angle\(s\) ([0-9,])");
+ if (m.Success)
+ {
+ // + angle(s) 1
+ // Do nothing. Will add this later.
+ }
+ }
+ // Get duration for this title
m = Regex.Match(output.ReadLine(), @"^ \+ duration: ([0-9]{2}:[0-9]{2}:[0-9]{2})");
if (m.Success)
thisTitle.m_duration = TimeSpan.Parse(m.Groups[1].Value);