OSDN Git Service

add win/C# diff files
[handbrake-jp/handbrake-jp.git] / win / C# / Parsing / Subtitle.cs.diff
diff --git a/win/C#/Parsing/Subtitle.cs.diff b/win/C#/Parsing/Subtitle.cs.diff
new file mode 100644 (file)
index 0000000..5abf1e7
--- /dev/null
@@ -0,0 +1,28 @@
+diff --git a/win/C#/Parsing/Subtitle.cs b/win/C#/Parsing/Subtitle.cs
+index f4fcc38..a765f1d 100644
+--- a/win/C#/Parsing/Subtitle.cs
++++ b/win/C#/Parsing/Subtitle.cs
+@@ -4,14 +4,6 @@
+          Homepage: <http://handbrake.fr>.\r
+          It may be used under the terms of the GNU General Public License. */\r
\r
+-/*\r
+- * This file come from HandBrake source code by http://handbrake.fr/ , \r
+- * and modified by hylom <hylomm@gmail.com> for HandBrake Japanese version.\r
+- * It may be used under the terms of the GNU General Public License.\r
+- * last modified date: $Format:%cd$\r
+- */\r
+-\r
+-\r
+ using System.Collections.Generic;\r
+ using System.IO;\r
+ using System.Text.RegularExpressions;\r
+@@ -76,7 +68,7 @@ namespace Handbrake.Parsing
+             string curLine = output.ReadLine();\r
\r
+             Match m = Regex.Match(curLine, @"^    \+ ([0-9]*), ([A-Za-z, ]*) \((.*)\) \(([a-zA-Z]*)\)");\r
+-            if (m.Success && !curLine.Contains("HandBrake\82ð\8fI\97¹\82µ\82Ü\82µ\82½"))\r
++            if (m.Success && !curLine.Contains("HandBrake has exited."))\r
+             {\r
+                 var thisSubtitle = new Subtitle\r
+                                        {\r