diff options
author | sr55 <[email protected]> | 2015-01-23 17:43:22 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2015-01-23 17:43:22 +0000 |
commit | 718407b65f64851ef5212d4e8b4bca2686ed7835 (patch) | |
tree | cb359ca803e5f99ef269333764156be615a6b57c | |
parent | 89cecd0032ad92c997bdda39b8c614ed1711fb11 (diff) |
WinGui: Fix an issue with the video preset defaulting when changing the video encoder.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6804 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs index efee77df1..9bcb229fd 100644 --- a/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs @@ -1211,7 +1211,7 @@ namespace HandBrakeWPF.ViewModels this.VideoPresetMaxValue = encoder.Presets.Count - 1;
int middlePreset = (int)Math.Round((decimal)(this.VideoPresetMaxValue / 2), 0);
- this.VideoPreset = new VideoPreset(encoder.Presets[middlePreset], encoder.Presets[middlePreset]);
+ this.VideoPresetValue = middlePreset;
}
else
{
|