summaryrefslogtreecommitdiffstats
path: root/macosx/HBCore.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2018-06-08 16:59:25 +0200
committerDamiano Galassi <[email protected]>2018-06-08 16:59:25 +0200
commitc762b2c0ec5b6fb58d1fd453e2b5aed526c6d693 (patch)
treee0ab43c5ddd28ed876158b689be0c93c2380d970 /macosx/HBCore.m
parentde7355d5ad5257c4cce5e0a99fffb3ee58264ba0 (diff)
MacGui: set the minimum deployment target to 10.10. Remove Growl and use macOS standard notifications. Remove deprecated API usage and code that doesn't compile anymore (QTKit).
Diffstat (limited to 'macosx/HBCore.m')
-rw-r--r--macosx/HBCore.m5
1 files changed, 2 insertions, 3 deletions
diff --git a/macosx/HBCore.m b/macosx/HBCore.m
index 160975ada..6c259e25a 100644
--- a/macosx/HBCore.m
+++ b/macosx/HBCore.m
@@ -274,7 +274,7 @@ typedef void (^HBCoreCleanupHandler)(void);
[self preventAutoSleep];
- hb_scan(_hb_handle, url.path.fileSystemRepresentation,
+ hb_scan(_hb_handle, url.fileSystemRepresentation,
(int)index, (int)previewsNum,
1, min_title_duration_ticks);
@@ -422,7 +422,7 @@ typedef void (^HBCoreCleanupHandler)(void);
// Add the job to libhb
hb_job_t *hb_job = job.hb_job;
- hb_job_set_file(hb_job, job.completeOutputURL.path.fileSystemRepresentation);
+ hb_job_set_file(hb_job, job.completeOutputURL.fileSystemRepresentation);
hb_add(_hb_handle, hb_job);
// Free the job
@@ -526,7 +526,6 @@ typedef void (^HBCoreCleanupHandler)(void);
if (self.updateTimer)
{
dispatch_source_cancel(self.updateTimer);
- dispatch_release(self.updateTimer);
self.updateTimer = NULL;
}
}