/// </summary>\r
private IHandBrakeInstance instance;\r
\r
+ /// <summary>\r
+ /// The post scan operation.\r
+ /// </summary>\r
+ private Action<bool> postScanOperation;\r
+\r
#endregion\r
\r
/// <summary>\r
}\r
}\r
\r
+ // Handle the post scan operation.\r
+ postScanOperation = postAction;\r
+\r
// Clear down the logging\r
this.logging.Clear();\r
\r
\r
IsScanning = false;\r
\r
- if (this.ScanCompleted != null)\r
- this.ScanCompleted(this, new ScanCompletedEventArgs(false, null, string.Empty));\r
+ if (postScanOperation != null)\r
+ {\r
+ postScanOperation(true);\r
+ }\r
+ else\r
+ {\r
+ if (this.ScanCompleted != null) this.ScanCompleted(this, new ScanCompletedEventArgs(false, null, string.Empty));\r
+ }\r
}\r
\r
/// <summary>\r
Margin="10,0,0,0" ToolTip="{x:Static Properties:Resources.Video_LosslessWarningTooltip}" FontWeight="Bold" />\r
</StackPanel>\r
\r
- <Slider Width="280" Value="{Binding RF}" HorizontalAlignment="Left" Maximum="{Binding QualityMax}" Minimum="{Binding QualityMin}"\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
ToolTip="{x:Static Properties:Resources.Video_QualitySlider}" Style="{StaticResource LongToolTipHolder}" \r
IsSnapToTickEnabled="True" TickFrequency="1" TickPlacement="BottomRight" />\r