From 6171d00692520927dc2fcc9bb43106bda15803b6 Mon Sep 17 00:00:00 2001 From: sr55 Date: Sun, 7 Oct 2012 19:04:49 +0000 Subject: WinGui: API Tidyup Part 1 of many git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5007 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/CS/HandBrake.ApplicationServices/Parsing/Source.cs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'win/CS/HandBrake.ApplicationServices/Parsing/Source.cs') diff --git a/win/CS/HandBrake.ApplicationServices/Parsing/Source.cs b/win/CS/HandBrake.ApplicationServices/Parsing/Source.cs index 7b63ec149..93aa13a0c 100644 --- a/win/CS/HandBrake.ApplicationServices/Parsing/Source.cs +++ b/win/CS/HandBrake.ApplicationServices/Parsing/Source.cs @@ -49,18 +49,20 @@ namespace HandBrake.ApplicationServices.Parsing /// /// The output. /// - /// + /// + /// The is Dvd Nav Disabled. + /// /// /// A DVD object which contains a list of title inforamtion /// - public static Source Parse(StreamReader output, IUserSettingService userSettingService) + public static Source Parse(StreamReader output, bool isDvdNavDisabled) { var thisDVD = new Source(); while (!output.EndOfStream) { if ((char) output.Peek() == '+') - thisDVD.Titles.AddRange(Title.ParseList(output.ReadToEnd(), userSettingService)); + thisDVD.Titles.AddRange(Title.ParseList(output.ReadToEnd(), isDvdNavDisabled)); else output.ReadLine(); } -- cgit v1.2.3