diff options
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Services/Scan/LibScan.cs')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Services/Scan/LibScan.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Services/Scan/LibScan.cs b/win/CS/HandBrake.ApplicationServices/Services/Scan/LibScan.cs index 1d5e94299..903497200 100644 --- a/win/CS/HandBrake.ApplicationServices/Services/Scan/LibScan.cs +++ b/win/CS/HandBrake.ApplicationServices/Services/Scan/LibScan.cs @@ -267,7 +267,8 @@ namespace HandBrake.ApplicationServices.Services.Scan BitmapImage bitmapImage = null;
try
{
- bitmapImage = this.instance.GetPreview((PreviewSettings)job, preview);
+ PreviewSettings settings = new PreviewSettings(job);
+ bitmapImage = this.instance.GetPreview(settings, preview);
}
catch (AccessViolationException e)
{
|