From 9f2ad1f0282529bd08fe3864c9a73f7ed5984762 Mon Sep 17 00:00:00 2001 From: Scott Date: Fri, 11 Sep 2015 23:07:12 +0100 Subject: WinGui: Fetch video framerates from libhb --- win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'win') diff --git a/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs index 7e7cfa6c7..45b718bd8 100644 --- a/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs @@ -165,7 +165,9 @@ namespace HandBrakeWPF.ViewModels { get { - return new List { "Same as source", "5", "10", "12", "15", "23.976", "24", "25", "29.97", "30", "50", "59.94", "60" }; + List framerates = new List { "Same as source" }; + framerates.AddRange(HandBrakeEncoderHelpers.VideoFramerates.Select(item => item.Name)); + return framerates; } } -- cgit v1.2.3