]> granicus.if.org Git - handbrake/commitdiff
WinGui: Set x264/5 Granularity to 0.5 by default. Also allow the slider control to...
authorsr55 <sr55.hb@outlook.com>
Fri, 31 Aug 2018 22:16:01 +0000 (23:16 +0100)
committersr55 <sr55.hb@outlook.com>
Fri, 31 Aug 2018 22:16:18 +0000 (23:16 +0100)
win/CS/HandBrakeWPF/Views/VideoView.xaml
win/CS/HandBrakeWPF/defaultsettings.xml

index 8c55b293afdeee97e45c68bf263323f065d8f255..7e1775a45504587a3dc0c61a0c93d440deadb5ac 100644 (file)
                            Margin="10,0,0,0" ToolTip="{x:Static Properties:Resources.Video_LosslessWarningTooltip}" FontWeight="Bold" />\r
                 </StackPanel>\r
 \r
-                <Slider Width="280" Value="{Binding RF, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Left"  Maximum="{Binding QualityMax}" Minimum="{Binding QualityMin}"\r
-                        IsEnabled="{Binding IsConstantQuantity}" Margin="20,0,0,10"\r
+                <Slider Value="{Binding RF, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Stretch"  Maximum="{Binding QualityMax}" Minimum="{Binding QualityMin}"\r
+                        IsEnabled="{Binding IsConstantQuantity}" Margin="20,0,10,10"\r
                         ToolTip="{x:Static Properties:ResourcesTooltips.Video_Quality}" Style="{StaticResource LongToolTipHolder}" \r
                         IsSnapToTickEnabled="True" TickFrequency="1" TickPlacement="BottomRight" />\r
 \r
-                <Grid Margin="20,0,0,15" Width="280" HorizontalAlignment="Left">\r
+                <Grid Margin="20,0,10,15" HorizontalAlignment="Stretch">\r
                     <Grid.ColumnDefinitions>\r
                         <ColumnDefinition Width="Auto" />\r
                         <ColumnDefinition Width="*" />\r
index f0c4310630ceb68d622365ab9e9499b9337014c3..aa14a59b04f235a50a23240db848dfea7530115d 100644 (file)
@@ -5,7 +5,7 @@
       <string>X264Step</string>\r
     </key>\r
     <value>\r
-      <anyType xmlns:q1="http://www.w3.org/2001/XMLSchema" d4p1:type="q1:double" xmlns:d4p1="http://www.w3.org/2001/XMLSchema-instance">1.0</anyType>\r
+      <anyType xmlns:q1="http://www.w3.org/2001/XMLSchema" d4p1:type="q1:double" xmlns:d4p1="http://www.w3.org/2001/XMLSchema-instance">0.5</anyType>\r
     </value>\r
   </item>\r
   <item>\r