summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Services
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Services')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Services/LibEncode.cs1
-rw-r--r--win/CS/HandBrake.ApplicationServices/Services/LibScan.cs24
2 files changed, 13 insertions, 12 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Services/LibEncode.cs b/win/CS/HandBrake.ApplicationServices/Services/LibEncode.cs
index d8a951d51..d7af9b224 100644
--- a/win/CS/HandBrake.ApplicationServices/Services/LibEncode.cs
+++ b/win/CS/HandBrake.ApplicationServices/Services/LibEncode.cs
@@ -15,6 +15,7 @@ namespace HandBrake.ApplicationServices.Services
using HandBrake.ApplicationServices.Services.Base;
using HandBrake.ApplicationServices.Services.Interfaces;
using HandBrake.Interop;
+ using HandBrake.Interop.Model;
using EncodeCompletedEventArgs = HandBrake.ApplicationServices.EventArgs.EncodeCompletedEventArgs;
using EncodeProgressEventArgs = HandBrake.ApplicationServices.EventArgs.EncodeProgressEventArgs;
diff --git a/win/CS/HandBrake.ApplicationServices/Services/LibScan.cs b/win/CS/HandBrake.ApplicationServices/Services/LibScan.cs
index 5022763eb..2ee0c172e 100644
--- a/win/CS/HandBrake.ApplicationServices/Services/LibScan.cs
+++ b/win/CS/HandBrake.ApplicationServices/Services/LibScan.cs
@@ -270,10 +270,10 @@ namespace HandBrake.ApplicationServices.Services
/// <returns>
/// The convert titles.
/// </returns>
- private static List<Title> ConvertTitles(IEnumerable<SourceData.Title> titles)
+ private static List<Title> ConvertTitles(IEnumerable<Interop.SourceData.Title> titles)
{
List<Title> titleList = new List<Title>();
- foreach (SourceData.Title title in titles)
+ foreach (Interop.SourceData.Title title in titles)
{
Title converted = new Title
{
@@ -292,41 +292,41 @@ namespace HandBrake.ApplicationServices.Services
Fps = title.Framerate
};
- foreach (SourceData.Chapter chapter in title.Chapters)
+ foreach (Interop.SourceData.Chapter chapter in title.Chapters)
{
converted.Chapters.Add(new Chapter(chapter.ChapterNumber, string.Empty, chapter.Duration));
}
- foreach (SourceData.AudioTrack track in title.AudioTracks)
+ foreach (Interop.SourceData.AudioTrack track in title.AudioTracks)
{
converted.AudioTracks.Add(new AudioTrack(track.TrackNumber, track.Language, track.LanguageCode, track.Description, string.Empty, track.SampleRate, track.Bitrate));
}
- foreach (SourceData.Subtitle track in title.Subtitles)
+ foreach (Interop.SourceData.Subtitle track in title.Subtitles)
{
SubtitleType convertedType = new SubtitleType();
switch (track.SubtitleSource)
{
- case SourceData.SubtitleSource.VobSub:
+ case Interop.SourceData.SubtitleSource.VobSub:
convertedType = SubtitleType.VobSub;
break;
- case SourceData.SubtitleSource.UTF8:
+ case Interop.SourceData.SubtitleSource.UTF8:
convertedType = SubtitleType.UTF8Sub;
break;
- case SourceData.SubtitleSource.TX3G:
+ case Interop.SourceData.SubtitleSource.TX3G:
convertedType = SubtitleType.TX3G;
break;
- case SourceData.SubtitleSource.SSA:
+ case Interop.SourceData.SubtitleSource.SSA:
convertedType = SubtitleType.SSA;
break;
- case SourceData.SubtitleSource.SRT:
+ case Interop.SourceData.SubtitleSource.SRT:
convertedType = SubtitleType.SRT;
break;
- case SourceData.SubtitleSource.CC608:
+ case Interop.SourceData.SubtitleSource.CC608:
convertedType = SubtitleType.CC;
break;
- case SourceData.SubtitleSource.CC708:
+ case Interop.SourceData.SubtitleSource.CC708:
convertedType = SubtitleType.CC;
break;
}