WinGui: Fix x265 preset not loading correctly. UIA on the queue toolbar buttons. 0.10.0
authorsr55 <sr55.hb@outlook.com>
Fri, 21 Nov 2014 21:57:53 +0000 (21:57 +0000)
committersr55 <sr55.hb@outlook.com>
Fri, 21 Nov 2014 21:57:53 +0000 (21:57 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6534 b64f7644-9d1e-0410-96f1-a4d463321fa5

win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs
win/CS/HandBrakeWPF/Views/QueueView.xaml

index 41371e99d3a1411bfae1a6a823ca3c0745659a3d..ccb5cd73a14724aaaff1283824af3565246779cb 100644 (file)
@@ -1150,7 +1150,7 @@ namespace HandBrakeWPF.ViewModels
                 // x265 Only\r
                 if (preset.Task.VideoEncoder == VideoEncoder.X265)\r
                 {\r
-                    this.X265PresetValue = (int)preset.Task.X264Preset;\r
+                    this.X265PresetValue = (int)preset.Task.X265Preset;\r
                     this.X265Tune = preset.Task.X265Tune;\r
                     this.H265Profile = preset.Task.H265Profile;\r
                 }\r
index 6e40d43779213a2376ff880a9da1a972c6846f25..3b4af61cf1fb7b01b2784da21f8a75f5f356fce5 100644 (file)
@@ -62,7 +62,7 @@
 \r
             <DockPanel Background="Transparent" HorizontalAlignment="Stretch">\r
 \r
-                <Button Name="Start" DockPanel.Dock="Left"\r
+                <Button Name="Start" DockPanel.Dock="Left" AutomationProperties.Name="Start Queue"\r
                         cal:Message.Attach="[Event Click] = [Action StartEncode]"\r
                         Visibility="{Binding IsEncoding,\r
                                              Converter={StaticResource boolToVisConverter},\r
@@ -77,7 +77,7 @@
                     </StackPanel>\r
                 </Button>\r
 \r
-                <Button Name="Pause" DockPanel.Dock="Left"\r
+                <Button Name="Pause" DockPanel.Dock="Left" AutomationProperties.Name="Pause Queue"\r
                         cal:Message.Attach="[Event Click] = [Action PauseEncode]"\r
                         Visibility="{Binding IsEncoding,\r
                                              Converter={StaticResource boolToVisConverter},\r