Skip to content

Commit

Permalink
WinGui: Fix x265 preset not loading correctly. UIA on the queue toolb…
Browse files Browse the repository at this point in the history
…ar buttons.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6534 b64f7644-9d1e-0410-96f1-a4d463321fa5
  • Loading branch information
sr55 committed Nov 21, 2014
1 parent 91fe592 commit 20e1a9b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1150,7 +1150,7 @@ public void SetPreset(Preset preset, EncodeTask task)
// 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;
}
Expand Down
4 changes: 2 additions & 2 deletions win/CS/HandBrakeWPF/Views/QueueView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand All @@ -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},
Expand Down

0 comments on commit 20e1a9b

Please sign in to comment.