summaryrefslogtreecommitdiffstats
path: root/macosx/HBPreviewController.m
diff options
context:
space:
mode:
authorritsuka <[email protected]>2015-01-14 07:21:57 +0000
committerritsuka <[email protected]>2015-01-14 07:21:57 +0000
commit7116db76641468327080ce0623ba2b62795d41cb (patch)
tree55b3450febe622d361c3a8c6d555225bf6e10ddc /macosx/HBPreviewController.m
parent44bdd8ef8cbedef21c84d9c7eac3ba05189b653e (diff)
MacGui: simplify the toolbar/menu validation methods, plus some cosmetics.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6748 b64f7644-9d1e-0410-96f1-a4d463321fa5
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];
}