summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Parsing/Chapter.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2013-03-20 20:50:58 +0000
committersr55 <[email protected]>2013-03-20 20:50:58 +0000
commit988fc7eb5bb797a65353644f51d9dc5fc4c0e236 (patch)
treec6aa8274d916db22fb49ddc82bfa3db1984a68e0 /win/CS/HandBrake.ApplicationServices/Parsing/Chapter.cs
parent285a71750a2c3fcb5c34d3fbf28e5105c03d7b9a (diff)
WinGui: Fix a bug in the scan engine that caused problems with multi-angle discs.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5352 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Parsing/Chapter.cs')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Parsing/Chapter.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Parsing/Chapter.cs b/win/CS/HandBrake.ApplicationServices/Parsing/Chapter.cs
index eb0313317..00870552f 100644
--- a/win/CS/HandBrake.ApplicationServices/Parsing/Chapter.cs
+++ b/win/CS/HandBrake.ApplicationServices/Parsing/Chapter.cs
@@ -72,9 +72,8 @@ namespace HandBrake.ApplicationServices.Parsing
public static Chapter Parse(StringReader output)
{
// TODO add support for reading chapter names to the regex.
- Match m = Regex.Match(
- output.ReadLine(),
- @"^ \+ ([0-9]*): cells ([0-9]*)->([0-9]*), ([0-9]*) blocks, duration ([0-9]{2}:[0-9]{2}:[0-9]{2})");
+ string line = output.ReadLine();
+ Match m = Regex.Match(line, @"^ \+ ([0-9]*): cells ([0-9]*)->([0-9]*), ([0-9]*) blocks, duration ([0-9]{2}:[0-9]{2}:[0-9]{2})");
if (m.Success)
{
var thisChapter = new Chapter