diff options
author | Scott <[email protected]> | 2015-09-11 23:07:12 +0100 |
---|---|---|
committer | Scott <[email protected]> | 2015-09-11 23:07:12 +0100 |
commit | 9f2ad1f0282529bd08fe3864c9a73f7ed5984762 (patch) | |
tree | 97268bc296414e934b500bf228d8ae60ef997cc5 /win/CS | |
parent | ff2c26d64d988c40c5380f18e87003c1667b58e2 (diff) |
WinGui: Fetch video framerates from libhb
Diffstat (limited to 'win/CS')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs | 4 |
1 files changed, 3 insertions, 1 deletions
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<string> { "Same as source", "5", "10", "12", "15", "23.976", "24", "25", "29.97", "30", "50", "59.94", "60" };
+ List<string> framerates = new List<string> { "Same as source" };
+ framerates.AddRange(HandBrakeEncoderHelpers.VideoFramerates.Select(item => item.Name));
+ return framerates;
}
}
|