summaryrefslogtreecommitdiffstats
path: root/macosx/HBPreviewController.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBPreviewController.m')
-rw-r--r--macosx/HBPreviewController.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBPreviewController.m b/macosx/HBPreviewController.m
index 03b341615..69b6f521e 100644
--- a/macosx/HBPreviewController.m
+++ b/macosx/HBPreviewController.m
@@ -859,7 +859,7 @@
}
/* We now direct our preview encode to fPreviewMoviePath */
- fTitle->job->file = [fPreviewMoviePath UTF8String];
+ hb_job_set_file(fTitle->job, [fPreviewMoviePath UTF8String]);
/* We use our advance pref to determine how many previews to scan */
int hb_num_previews = [[[NSUserDefaults standardUserDefaults] objectForKey:@"PreviewsNumber"] intValue];