diff options
Diffstat (limited to 'win/C#/Functions/QueryParser.cs')
-rw-r--r-- | win/C#/Functions/QueryParser.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/win/C#/Functions/QueryParser.cs b/win/C#/Functions/QueryParser.cs index f49115ac8..174f92218 100644 --- a/win/C#/Functions/QueryParser.cs +++ b/win/C#/Functions/QueryParser.cs @@ -595,7 +595,13 @@ namespace Handbrake.Functions actTitles = chapters.ToString().Replace("-c ", "").Split('-');
thisQuery.q_chaptersStart = int.Parse(actTitles[0]);
if (actTitles.Length > 1)
+ {
+ MessageBox.Show(actTitles[1]);
thisQuery.q_chaptersFinish = int.Parse(actTitles[1]);
+ }
+
+ if ((thisQuery.q_chaptersStart == 1) && (thisQuery.q_chaptersFinish == 0))
+ thisQuery.q_chaptersFinish = thisQuery.q_chaptersStart;
}
if (format.Success != false)
|