summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/ViewModels
diff options
context:
space:
mode:
authorsr55 <[email protected]>2015-01-23 17:43:22 +0000
committersr55 <[email protected]>2015-01-23 17:43:22 +0000
commit718407b65f64851ef5212d4e8b4bca2686ed7835 (patch)
treecb359ca803e5f99ef269333764156be615a6b57c /win/CS/HandBrakeWPF/ViewModels
parent89cecd0032ad92c997bdda39b8c614ed1711fb11 (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
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs2
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
{