using System;\r
using System.Collections.Generic;\r
-using System.Text;\r
using System.IO;\r
using System.Text.RegularExpressions;\r
\r
if (m.Success && !curLine.Contains("HandBrake has exited."))\r
{\r
Subtitle thisSubtitle = new Subtitle();\r
- thisSubtitle.m_trackNumber = int.Parse(m.Groups[1].Value);\r
+ thisSubtitle.m_trackNumber = int.Parse(m.Groups[1].Value.Trim().ToString());\r
thisSubtitle.m_language = m.Groups[2].Value;\r
return thisSubtitle;\r
}\r