summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Services/Scan
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrakeWPF/Services/Scan')
-rw-r--r--win/CS/HandBrakeWPF/Services/Scan/Model/Audio.cs5
-rw-r--r--win/CS/HandBrakeWPF/Services/Scan/Model/Subtitle.cs5
2 files changed, 10 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/Services/Scan/Model/Audio.cs b/win/CS/HandBrakeWPF/Services/Scan/Model/Audio.cs
index 0d32db623..193fc35bd 100644
--- a/win/CS/HandBrakeWPF/Services/Scan/Model/Audio.cs
+++ b/win/CS/HandBrakeWPF/Services/Scan/Model/Audio.cs
@@ -63,6 +63,11 @@ namespace HandBrakeWPF.Services.Scan.Model
this.Bitrate = bitrate;
}
+ public Audio(int trackNumber)
+ {
+ this.TrackNumber = trackNumber;
+ }
+
/// <summary>
/// Gets or sets The track number of this Audio Track
/// </summary>
diff --git a/win/CS/HandBrakeWPF/Services/Scan/Model/Subtitle.cs b/win/CS/HandBrakeWPF/Services/Scan/Model/Subtitle.cs
index ce48404a4..2bfc1c125 100644
--- a/win/CS/HandBrakeWPF/Services/Scan/Model/Subtitle.cs
+++ b/win/CS/HandBrakeWPF/Services/Scan/Model/Subtitle.cs
@@ -29,6 +29,11 @@ namespace HandBrakeWPF.Services.Scan.Model
{
}
+ public Subtitle(int sourceId)
+ {
+ this.SourceId = sourceId;
+ }
+
/// <summary>
/// Initializes a new instance of the <see cref="Subtitle"/> class.
/// </summary>