diff options
Diffstat (limited to 'win/C#')
-rw-r--r-- | win/C#/Functions/Common.cs | 6 | ||||
-rw-r--r-- | win/C#/HandBrakeCS.sln | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/win/C#/Functions/Common.cs b/win/C#/Functions/Common.cs index 8f874aaa3..f0cab1cde 100644 --- a/win/C#/Functions/Common.cs +++ b/win/C#/Functions/Common.cs @@ -432,9 +432,11 @@ namespace Handbrake.Functions query += " -t " + titleInfo[0];
}
- if (mainWindow.drop_chapterFinish.Text == mainWindow.drop_chapterStart.Text)
+ if (mainWindow.drop_chapterFinish.Text == mainWindow.drop_chapterStart.Text && mainWindow.drop_chapterStart.Text != "Auto")
query += " -c " + mainWindow.drop_chapterStart.Text;
- else
+ else if (mainWindow.drop_chapterStart.Text == "Auto" && mainWindow.drop_chapterFinish.Text != "Auto")
+ query += " -c " + "0-" + mainWindow.drop_chapterFinish.Text;
+ else if (mainWindow.drop_chapterStart.Text != "Auto" && mainWindow.drop_chapterFinish.Text != "Auto")
query += " -c " + mainWindow.drop_chapterStart.Text + "-" + mainWindow.drop_chapterFinish.Text;
#endregion
diff --git a/win/C#/HandBrakeCS.sln b/win/C#/HandBrakeCS.sln index be0c50c6a..81ce84ca6 100644 --- a/win/C#/HandBrakeCS.sln +++ b/win/C#/HandBrakeCS.sln @@ -1,6 +1,6 @@
Microsoft Visual Studio Solution File, Format Version 10.00
-# Visual C# Express 2008
+# Visual Studio 2008
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HandBrakeCS", "HandBrakeCS.csproj", "{A2923D42-C38B-4B12-8CBA-B8D93D6B13A3}"
EndProject
Global
|