summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Parsing/Source.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Parsing/Source.cs')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Parsing/Source.cs8
1 files changed, 5 insertions, 3 deletions
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
/// <param name="output">
/// The output.
/// </param>
- /// <param name="userSettingService"> </param>
+ /// <param name="isDvdNavDisabled">
+ /// The is Dvd Nav Disabled.
+ /// </param>
/// <returns>
/// A DVD object which contains a list of title inforamtion
/// </returns>
- 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();
}