summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Services
diff options
context:
space:
mode:
authorsr55 <[email protected]>2015-03-06 19:40:08 +0000
committersr55 <[email protected]>2015-03-06 19:40:08 +0000
commit0d4c60c548ffc487c66ca055efb18c7f09faa0c6 (patch)
tree0e33d4c98eae5ae0ebed0122cfba3a70d0f40d25 /win/CS/HandBrake.ApplicationServices/Services
parentb2afa282e450e3c1e7c1ab75925734086e6b706a (diff)
WinGui: Restore the preview functionality after refactoring.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6969 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Services')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Services/Scan/LibScan.cs3
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)
{