summaryrefslogtreecommitdiffstats
path: root/win/C#/Functions
diff options
context:
space:
mode:
authorsr55 <[email protected]>2008-02-24 18:47:29 +0000
committersr55 <[email protected]>2008-02-24 18:47:29 +0000
commitc957d78b0d6c5a7cea326118fe390ced1e231a86 (patch)
tree527e2fd5c09d88972eaa11761392130dc66b14ff /win/C#/Functions
parent63b41d0f2b6f5bef46762706947a5384412f197f (diff)
WinGui:
- Fixed small issue with last checkin git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1314 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Functions')
-rw-r--r--win/C#/Functions/Common.cs14
1 files changed, 11 insertions, 3 deletions
diff --git a/win/C#/Functions/Common.cs b/win/C#/Functions/Common.cs
index ebeb0c9c6..244eb142e 100644
--- a/win/C#/Functions/Common.cs
+++ b/win/C#/Functions/Common.cs
@@ -728,7 +728,7 @@ namespace Handbrake.Functions
if (mainWindow.Check_ChapterMarkers.Checked)
{
- if (source_name != "Click 'Browse' to continue")
+ if (source_name.Trim().Replace("-i ", "") != "Click \'Browse\' to continue")
{
if (source_title != "Automatic")
{
@@ -745,8 +745,16 @@ namespace Handbrake.Functions
}
else
{
- string path = Path.Combine(Path.GetTempPath(), "chapters.csv");
- ChapterMarkers = " --markers=" + "\"" + path + "\"";
+ string filename = source_name + "-chapters.csv";
+ string path = Path.Combine(Path.GetTempPath(), filename);
+
+ Boolean saveCSV = chapterCSVSave(mainWindow, path);
+ if (saveCSV == false)
+ ChapterMarkers = " -m ";
+ else
+ {
+ ChapterMarkers = " --markers=" + "\"" + path + "\"";
+ }
}
}
else