diff options
author | ritsuka <[email protected]> | 2014-12-20 17:37:18 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2014-12-20 17:37:18 +0000 |
commit | 35ee296426789c3ab55abd69d86509ae36ce6f81 (patch) | |
tree | 1f7b4f8443fa5b524a52c2c72b5a1b81d091d85b /macosx/HBJob.m | |
parent | 3db4de8fa29af0c883f0bd90333629d79d64183b (diff) |
MacGui: small improvements to HBTitle and HBJob.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6625 b64f7644-9d1e-0410-96f1-a4d463321fa5
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]; |