summaryrefslogtreecommitdiffstats
path: root/win/C#
diff options
context:
space:
mode:
authorsr55 <[email protected]>2009-11-14 18:44:12 +0000
committersr55 <[email protected]>2009-11-14 18:44:12 +0000
commit4acf58d8591d8d7723fa4c392d5e800b71cef280 (patch)
treed4ef70c37badc3bf7f3e0df7374921231474a1a5 /win/C#
parent5ea29c6e1bd5d954f2d2b0bfee61fc979e5a111c (diff)
WinGui:
- Fixed: Chapter Markers were being disabled for VIDEO_TS directories when the folder above the VIDEO_TS folder was being used as the source path. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2930 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#')
-rw-r--r--win/C#/frmMain.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs
index 93c889937..9cf29a270 100644
--- a/win/C#/frmMain.cs
+++ b/win/C#/frmMain.cs
@@ -1514,6 +1514,8 @@ namespace Handbrake
// Enable the creation of chapter markers if the file is an image of a dvd.
if (sourcePath.ToLower().Contains(".iso") || sourcePath.Contains("VIDEO_TS"))
Check_ChapterMarkers.Enabled = true;
+ else if (Directory.Exists(Path.Combine(sourcePath, "VIDEO_TS")))
+ Check_ChapterMarkers.Enabled = true;
else
{
Check_ChapterMarkers.Enabled = false;