summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Utilities
diff options
context:
space:
mode:
authorsr55 <[email protected]>2015-01-04 19:51:59 +0000
committersr55 <[email protected]>2015-01-04 19:51:59 +0000
commit7856f5760bda5c33e86ad48c78bcc473f9597f96 (patch)
treec92c90fc8515db249dbd6b0569360f124e7f98a1 /win/CS/HandBrake.ApplicationServices/Utilities
parent207a1c9599e13f9790a70b4784d290899d45bab8 (diff)
WinGui: Further fixes to libhb json encoding. FPS and Anamorphic should now work.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6684 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Utilities')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs b/win/CS/HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs
index 970fb5c97..236cac712 100644
--- a/win/CS/HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs
+++ b/win/CS/HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs
@@ -175,6 +175,7 @@ namespace HandBrake.ApplicationServices.Utilities
// Video Settings
profile.Framerate = work.Framerate.HasValue ? work.Framerate.Value : 0;
profile.ConstantFramerate = work.FramerateMode == FramerateMode.CFR;
+ profile.PeakFramerate = work.FramerateMode == FramerateMode.PFR;
profile.Quality = work.Quality.HasValue ? work.Quality.Value : 0;
profile.VideoBitrate = work.VideoBitrate.HasValue ? work.VideoBitrate.Value : 0;
profile.VideoEncodeRateType = work.VideoEncodeRateType;