diff options
author | sr55 <[email protected]> | 2019-04-22 11:03:33 +0100 |
---|---|---|
committer | sr55 <[email protected]> | 2019-04-22 11:03:33 +0100 |
commit | 4ee9eb8fabc2c3404e7b5b939f0ee291fa5053cc (patch) | |
tree | fd8cac30fd369cc38faea567fde65390d794ef67 /win/CS/HandBrakeWPF/Services/Presets | |
parent | 52247065643a76c728ecfb9269b512c83a13b1ec (diff) |
WinGui: Fix a preset import ordering bug that could produce an incorrect audio bitrate. Fixes #2062
Diffstat (limited to 'win/CS/HandBrakeWPF/Services/Presets')
-rw-r--r-- | win/CS/HandBrakeWPF/Services/Presets/Factories/JsonPresetFactory.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/CS/HandBrakeWPF/Services/Presets/Factories/JsonPresetFactory.cs b/win/CS/HandBrakeWPF/Services/Presets/Factories/JsonPresetFactory.cs index 9a1128973..360cf7cab 100644 --- a/win/CS/HandBrakeWPF/Services/Presets/Factories/JsonPresetFactory.cs +++ b/win/CS/HandBrakeWPF/Services/Presets/Factories/JsonPresetFactory.cs @@ -389,8 +389,7 @@ namespace HandBrakeWPF.Services.Presets.Factories foreach (var audioTrack in importedPreset.AudioList)
{
AudioBehaviourTrack track = new AudioBehaviourTrack();
- track.Bitrate = audioTrack.AudioBitrate;
-
+
// track.CompressionLevel = audioTrack.AudioCompressionLevel;
// track.AudioDitherMethod = audioTrack.AudioDitherMethod;
if (audioTrack.AudioEncoder == "ca_aac")
@@ -400,6 +399,7 @@ namespace HandBrakeWPF.Services.Presets.Factories track.Encoder = EnumHelper<AudioEncoder>.GetValue(audioTrack.AudioEncoder);
track.MixDown = HandBrakeEncoderHelpers.GetMixdown(audioTrack.AudioMixdown);
+ track.Bitrate = audioTrack.AudioBitrate;
// track.AudioNormalizeMixLevel = audioTrack.AudioNormalizeMixLevel;
|