summaryrefslogtreecommitdiffstats
path: root/macosx/HBJob+HBJobConversion.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/HBJob+HBJobConversion.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/HBJob+HBJobConversion.m')
-rw-r--r--macosx/HBJob+HBJobConversion.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/HBJob+HBJobConversion.m b/macosx/HBJob+HBJobConversion.m
index 9895a3adc..ecef901e0 100644
--- a/macosx/HBJob+HBJobConversion.m
+++ b/macosx/HBJob+HBJobConversion.m
@@ -39,7 +39,7 @@
hb_title_t *title = self.title.hb_title;
hb_job_t *job = hb_job_init(title);
- hb_job_set_file(job, self.completeOutputURL.path.fileSystemRepresentation);
+ hb_job_set_file(job, self.completeOutputURL.fileSystemRepresentation);
// Title Angle for dvdnav
job->angle = self.angle;
@@ -271,7 +271,7 @@
sub_config.offset = subTrack.offset;
// we need to strncpy file name and codeset
- strncpy(sub_config.src_filename, subTrack.fileURL.path.fileSystemRepresentation, 255);
+ strncpy(sub_config.src_filename, subTrack.fileURL.fileSystemRepresentation, 255);
sub_config.src_filename[255] = 0;
strncpy(sub_config.src_codeset, subTrack.charCode.UTF8String, 39);
sub_config.src_codeset[39] = 0;