WinGui: Fetch video framerates from libhb
authorScott <sr55@users.noreply.github.com>
Fri, 11 Sep 2015 22:07:12 +0000 (23:07 +0100)
committerScott <sr55@users.noreply.github.com>
Fri, 11 Sep 2015 22:07:12 +0000 (23:07 +0100)
win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs

index 7e7cfa6c7e0af417cc07fea5d977542ad6c8694a..45b718bd89ab97266877e6e1b50e1f0126556838 100644 (file)
@@ -165,7 +165,9 @@ namespace HandBrakeWPF.ViewModels
         {\r
             get\r
             {\r
-                return new List<string> { "Same as source", "5", "10", "12", "15", "23.976", "24", "25", "29.97", "30", "50", "59.94", "60" };\r
+                List<string> framerates = new List<string> { "Same as source" };\r
+                framerates.AddRange(HandBrakeEncoderHelpers.VideoFramerates.Select(item => item.Name));\r
+                return framerates;\r
             }\r
         }\r
 \r