diff options
author | Damiano Galassi <[email protected]> | 2016-10-29 13:24:01 +0200 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2016-10-29 14:08:19 +0200 |
commit | 185a922d275ef95db2fa73ee31e07bcafbdecaae (patch) | |
tree | 8ae73547d8acaf987091d5ab29bf3a3db279bf4a /macosx/HBCore.m | |
parent | 2e48a329ffa5123439cf82b5163176713eb64432 (diff) |
MacGui: use hb_preset_job_init instead of custom logic for audio, subtitles and picture job settings.
Diffstat (limited to 'macosx/HBCore.m')
-rw-r--r-- | macosx/HBCore.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/HBCore.m b/macosx/HBCore.m index dcc4d24e3..eae767060 100644 --- a/macosx/HBCore.m +++ b/macosx/HBCore.m @@ -11,7 +11,7 @@ #import "HBUtilities.h" #import "HBStateFormatter+Private.h" -#import "HBTitlePrivate.h" +#import "HBTitle+Private.h" #include <dlfcn.h> @@ -256,7 +256,7 @@ static void hb_error_handler(const char *errmsg) for (int i = 0; i < hb_list_count(title_set->list_title); i++) { hb_title_t *title = (hb_title_t *) hb_list_item(title_set->list_title, i); - [titles addObject:[[HBTitle alloc] initWithTitle:title featured:(title->index == title_set->feature)]]; + [titles addObject:[[HBTitle alloc] initWithTitle:title handle:self.hb_handle featured:(title->index == title_set->feature)]]; } self.titles = [titles copy]; |