summaryrefslogtreecommitdiffstats
path: root/macosx/HBPreviewGenerator.m
diff options
context:
space:
mode:
authorritsuka <[email protected]>2014-12-21 13:08:20 +0000
committerritsuka <[email protected]>2014-12-21 13:08:20 +0000
commitf258fb8da28967d8f2e2ddaf814233058197044f (patch)
tree409f34bde3375606b68e81fe4bb0d860c816dc00 /macosx/HBPreviewGenerator.m
parent6305d5f38aa273b0e8269db050eb1e958b55bd26 (diff)
MacGui: remove the last usage of title->job.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6636 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBPreviewGenerator.m')
-rw-r--r--macosx/HBPreviewGenerator.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/HBPreviewGenerator.m b/macosx/HBPreviewGenerator.m
index f089ade22..fa589bd00 100644
--- a/macosx/HBPreviewGenerator.m
+++ b/macosx/HBPreviewGenerator.m
@@ -202,7 +202,7 @@ typedef enum EncodeState : NSUInteger {
if (self.core || index >= self.imagesCount)
return NO;
- hb_job_t *job = self.job.title.hb_title->job;
+ hb_job_t *job = self.job.hb_job;
/* Generate the file url and directories. */
if (job->mux & HB_MUX_MASK_MP4)
@@ -286,7 +286,7 @@ typedef enum EncodeState : NSUInteger {
hb_add(self.core.hb_handle, job);
/* we need to clean up the various lists after the job(s) have been set */
- hb_job_reset(job);
+ hb_job_close(&job);
[self registerCoreNotifications];
self.cancelled = NO;