summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2013-11-22 22:25:59 +0000
committersr55 <[email protected]>2013-11-22 22:25:59 +0000
commit6d1a0aaf440872cde4661d9ae50816a97331d55f (patch)
tree531f5be5317cc6a7cddcf60069ea989033c4d822 /win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs
parentacc52477100589c854cd3410a09949dd86fac754 (diff)
WinGui: Some additional work on Static Previews. Added slider to select the preview and set Max size on the image to prevent upscaling. Note, this feature is still not enabled in the UI.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5902 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs
index 2cde191f5..e3cb8afa1 100644
--- a/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs
@@ -807,11 +807,11 @@ namespace HandBrakeWPF.ViewModels
public void PreviewImage()
{
IScan scanService = IoC.Get<IScan>();
- BitmapImage image = scanService.GetPreview(this.Task, 5);
+ BitmapImage image = scanService.GetPreview(this.Task, 1);
if (image != null)
{
- this.StaticPreviewViewModel.PreviewFrame(image);
+ this.StaticPreviewViewModel.PreviewFrame(image, this.Task);
this.WindowManager.ShowDialog(this.StaticPreviewViewModel);
}
}