summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
Diffstat (limited to 'win')
-rw-r--r--win/C#/Parsing/Title.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/win/C#/Parsing/Title.cs b/win/C#/Parsing/Title.cs
index 14eacf165..f819ab1b3 100644
--- a/win/C#/Parsing/Title.cs
+++ b/win/C#/Parsing/Title.cs
@@ -186,6 +186,14 @@ namespace Handbrake.Parsing
while ((char)sr.Peek() == '+')
{
titles.Add(Title.Parse(sr));
+ /*
+ * Fix for the line "+ combing detected, may be interlaced or telecined"
+ * If the next character is not a [ or +, then there are titles left to parse, but we are not where
+ * we expect to be in the output, so read one line ahead to skip over the unknown line
+ */
+
+ if ((char)sr.Peek() != '[' && (char)sr.Peek() != '+' && (char)sr.Peek() != null) // Hack, Fix later
+ sr.ReadLine();
}
return titles.ToArray();