From 4acf58d8591d8d7723fa4c392d5e800b71cef280 Mon Sep 17 00:00:00 2001 From: sr55 Date: Sat, 14 Nov 2009 18:44:12 +0000 Subject: 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 --- win/C#/frmMain.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'win') 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; -- cgit v1.2.3