summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsr55 <[email protected]>2014-11-21 21:57:53 +0000
committersr55 <[email protected]>2014-11-21 21:57:53 +0000
commit20e1a9b2e253fe2d59dbf64a878e735a8d4d7c91 (patch)
treecc2f35e2d7b7af24151bdc84a4b3e734921007ff
parent91fe5927513ce919efca7aaf3db598dd5f013144 (diff)
WinGui: Fix x265 preset not loading correctly. UIA on the queue toolbar buttons.0.10.0
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6534 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs2
-rw-r--r--win/CS/HandBrakeWPF/Views/QueueView.xaml4
2 files changed, 3 insertions, 3 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs
index 41371e99d..ccb5cd73a 100644
--- a/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs
@@ -1150,7 +1150,7 @@ namespace HandBrakeWPF.ViewModels
// x265 Only
if (preset.Task.VideoEncoder == VideoEncoder.X265)
{
- this.X265PresetValue = (int)preset.Task.X264Preset;
+ this.X265PresetValue = (int)preset.Task.X265Preset;
this.X265Tune = preset.Task.X265Tune;
this.H265Profile = preset.Task.H265Profile;
}
diff --git a/win/CS/HandBrakeWPF/Views/QueueView.xaml b/win/CS/HandBrakeWPF/Views/QueueView.xaml
index 6e40d4377..3b4af61cf 100644
--- a/win/CS/HandBrakeWPF/Views/QueueView.xaml
+++ b/win/CS/HandBrakeWPF/Views/QueueView.xaml
@@ -62,7 +62,7 @@
<DockPanel Background="Transparent" HorizontalAlignment="Stretch">
- <Button Name="Start" DockPanel.Dock="Left"
+ <Button Name="Start" DockPanel.Dock="Left" AutomationProperties.Name="Start Queue"
cal:Message.Attach="[Event Click] = [Action StartEncode]"
Visibility="{Binding IsEncoding,
Converter={StaticResource boolToVisConverter},
@@ -77,7 +77,7 @@
</StackPanel>
</Button>
- <Button Name="Pause" DockPanel.Dock="Left"
+ <Button Name="Pause" DockPanel.Dock="Left" AutomationProperties.Name="Pause Queue"
cal:Message.Attach="[Event Click] = [Action PauseEncode]"
Visibility="{Binding IsEncoding,
Converter={StaticResource boolToVisConverter},