summaryrefslogtreecommitdiffstats
path: root/macosx/HBPreviewController.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBPreviewController.m')
-rw-r--r--macosx/HBPreviewController.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/HBPreviewController.m b/macosx/HBPreviewController.m
index c64ee8e1c..e921574c1 100644
--- a/macosx/HBPreviewController.m
+++ b/macosx/HBPreviewController.m
@@ -904,8 +904,8 @@ typedef enum ViewMode : NSUInteger {
return;
self.generator.delegate = self;
- if ([self.generator createMovieAsyncWithImageIndex:self.pictureIndex
- andDuration:[[fPreviewMovieLengthPopUp titleOfSelectedItem] intValue]])
+ if ([self.generator createMovieAsyncWithImageAtIndex:self.pictureIndex
+ duration:[[fPreviewMovieLengthPopUp titleOfSelectedItem] intValue]])
{
[self switchViewToMode:ViewModeEncoding];
}