diff options
author | sr55 <[email protected]> | 2012-10-07 19:04:49 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2012-10-07 19:04:49 +0000 |
commit | 6171d00692520927dc2fcc9bb43106bda15803b6 (patch) | |
tree | 3c9e846fa904ad66789d8104fe86acbbaffe034e /win/CS/HandBrake.ApplicationServices/Parsing/Source.cs | |
parent | 5a3ba3bfe9121d14a691441093f0d191d4410be5 (diff) |
WinGui: API Tidyup Part 1 of many
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5007 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Parsing/Source.cs')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Parsing/Source.cs | 8 |
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();
}
|