summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Services/Scan/LibScan.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2016-04-09 15:24:50 +0100
committersr55 <[email protected]>2016-04-09 15:24:50 +0100
commitd3866786b03887914eb66f06dc1a529036e86244 (patch)
tree884d7e41c3af9debcafb0bda76d78f9222fd1eca /win/CS/HandBrakeWPF/Services/Scan/LibScan.cs
parent478431fc9ca190a8a43df354bd0a872903bb6c02 (diff)
WinGui: Sanitise all Mixdown selections. Passthru the Codec into the Scanned Track object.
Diffstat (limited to 'win/CS/HandBrakeWPF/Services/Scan/LibScan.cs')
-rw-r--r--win/CS/HandBrakeWPF/Services/Scan/LibScan.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/win/CS/HandBrakeWPF/Services/Scan/LibScan.cs b/win/CS/HandBrakeWPF/Services/Scan/LibScan.cs
index 23d38af4e..bd1f4cf12 100644
--- a/win/CS/HandBrakeWPF/Services/Scan/LibScan.cs
+++ b/win/CS/HandBrakeWPF/Services/Scan/LibScan.cs
@@ -384,8 +384,7 @@ namespace HandBrakeWPF.Services.Scan
int currentAudioTrack = 1;
foreach (SourceAudioTrack track in title.AudioList)
{
-
- converted.AudioTracks.Add(new Audio(currentAudioTrack, track.Language, track.LanguageCode, track.Description, string.Empty, track.SampleRate, track.BitRate, track.ChannelLayout));
+ converted.AudioTracks.Add(new Audio(currentAudioTrack, track.Language, track.LanguageCode, track.Description, track.Codec, track.SampleRate, track.BitRate, track.ChannelLayout));
currentAudioTrack++;
}