summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Services/Scan
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Services/Scan')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Services/Scan/LibScan.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Services/Scan/LibScan.cs b/win/CS/HandBrake.ApplicationServices/Services/Scan/LibScan.cs
index 09e2df18a..524042606 100644
--- a/win/CS/HandBrake.ApplicationServices/Services/Scan/LibScan.cs
+++ b/win/CS/HandBrake.ApplicationServices/Services/Scan/LibScan.cs
@@ -455,7 +455,7 @@ namespace HandBrake.ApplicationServices.Services.Scan
internal static List<Title> ConvertTitles(JsonScanObject titles)
{
List<Title> titleList = new List<Title>();
- foreach (TitleList title in titles.TitleList)
+ foreach (SourceTitle title in titles.TitleList)
{
Title converted = new Title
{
@@ -480,7 +480,7 @@ namespace HandBrake.ApplicationServices.Services.Scan
};
int currentTrack = 1;
- foreach (ChapterList chapter in title.ChapterList)
+ foreach (ChapterTrack chapter in title.ChapterList)
{
string chapterName = !string.IsNullOrEmpty(chapter.Name) ? chapter.Name : string.Empty;
converted.Chapters.Add(new Chapter(currentTrack, chapterName, new TimeSpan(chapter.Duration.Hours, chapter.Duration.Minutes, chapter.Duration.Seconds)));
@@ -488,14 +488,14 @@ namespace HandBrake.ApplicationServices.Services.Scan
}
int currentAudioTrack = 1;
- foreach (AudioList track in title.AudioList)
+ foreach (AudioTrack track in title.AudioList)
{
converted.AudioTracks.Add(new Audio(currentAudioTrack, track.Language, track.LanguageCode, track.Description, string.Empty, track.SampleRate, track.BitRate));
currentAudioTrack++;
}
int currentSubtitleTrack = 1;
- foreach (SubtitleList track in title.SubtitleList)
+ foreach (SubtitleTrack track in title.SubtitleList)
{
SubtitleType convertedType = new SubtitleType();