diff options
author | sr55 <[email protected]> | 2008-08-17 19:34:13 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2008-08-17 19:34:13 +0000 |
commit | 59f4fbb6827811bf0f428c529dbfcccc09eee95e (patch) | |
tree | 0def7da314a07dc0c341473095055c0b90a7e645 /win/C#/Functions | |
parent | 8571ae4f3a3498999b834252a9a07ecc63dcc5dd (diff) |
WinGui:
- Fixed stupid mistake with query generator and the dvd chapters being set to auto
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1636 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Functions')
-rw-r--r-- | win/C#/Functions/Common.cs | 6 |
1 files changed, 4 insertions, 2 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
|