diff options
Diffstat (limited to 'macosx/HBJob.m')
-rw-r--r-- | macosx/HBJob.m | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/macosx/HBJob.m b/macosx/HBJob.m index 395e5fa9f..03aafa2f8 100644 --- a/macosx/HBJob.m +++ b/macosx/HBJob.m @@ -20,6 +20,10 @@ { self = [super init]; if (self) { + NSParameterAssert(title); + NSParameterAssert(fileURL); + NSParameterAssert(preset); + _title = title; _fileURL = [fileURL copy]; @@ -27,7 +31,7 @@ _subtitlesDefaults = [[HBSubtitlesDefaults alloc] init]; _video = [[HBVideo alloc] init]; - _picture = [[HBPicture alloc] init]; + _picture = [[HBPicture alloc] initWithTitle:title]; _filters = [[HBFilters alloc] init]; [self applyPreset:preset]; |