diff options
author | sr55 <[email protected]> | 2018-07-08 14:17:17 +0100 |
---|---|---|
committer | sr55 <[email protected]> | 2018-07-08 14:17:17 +0100 |
commit | 80fa15a3901017253e35bb2df064133258edcd2a (patch) | |
tree | eb1d63cc3441bb9c7b94ad464011689b9c21c520 /win/CS/HandBrakeWPF/Services/Scan | |
parent | 325cb484bfeccb2fa371c7af010c4eb4839c5f37 (diff) |
WinGui: Initial work to refactor the queue infrastructure to use the same JSON format as the CLI + extensions.
Diffstat (limited to 'win/CS/HandBrakeWPF/Services/Scan')
-rw-r--r-- | win/CS/HandBrakeWPF/Services/Scan/Model/Audio.cs | 5 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/Services/Scan/Model/Subtitle.cs | 5 |
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> |