summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices
diff options
context:
space:
mode:
authorsr55 <[email protected]>2015-01-13 21:43:22 +0000
committersr55 <[email protected]>2015-01-13 21:43:22 +0000
commit44bdd8ef8cbedef21c84d9c7eac3ba05189b653e (patch)
treeeb50e62528be2700b27a66a0801431a12d587c50 /win/CS/HandBrake.ApplicationServices
parent677686f70a18f5d5fbf1a49f4b6593ac955ffa1a (diff)
WinGui: Fixes to new JSON API Code, Audio and Chapter settings.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6747 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs b/win/CS/HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs
index 17a8ba000..a7dac9fcd 100644
--- a/win/CS/HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs
+++ b/win/CS/HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs
@@ -80,6 +80,8 @@ namespace HandBrake.ApplicationServices.Utilities
InputNumber = track.Track.HasValue ? track.Track.Value : 0,
Mixdown = Converters.GetCliMixDown(track.MixDown),
SampleRateRaw = GetSampleRateRaw(track.SampleRate),
+ EncodeRateType = AudioEncodeRateType.Bitrate,
+ Name = track.TrackName
};
profile.AudioEncodings.Add(newTrack);