diff options
author | ritsuka <[email protected]> | 2015-06-01 17:20:43 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2015-06-01 17:20:43 +0000 |
commit | 876f1f8cafd3510cb04f022f004610e39d50dbc8 (patch) | |
tree | 8fb00efa2f170d03eb96b7859a9a6605f4d8b6f9 /macosx/HBJob+HBJobConversion.m | |
parent | c0cb605ff2e3fff65db994506df8f6f7253b5ad8 (diff) |
MacGui: split HBTitle header to make it easier to test. Added some simple tests.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7256 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBJob+HBJobConversion.m')
-rw-r--r-- | macosx/HBJob+HBJobConversion.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/macosx/HBJob+HBJobConversion.m b/macosx/HBJob+HBJobConversion.m index 70692d801..6d69f0661 100644 --- a/macosx/HBJob+HBJobConversion.m +++ b/macosx/HBJob+HBJobConversion.m @@ -9,7 +9,7 @@ #import "HBAudioDefaults.h" #import "HBAudioTrack.h" -#import "HBTitle.h" +#import "HBTitlePrivate.h" @implementation HBJob (HBJobConversion) @@ -19,6 +19,7 @@ - (hb_job_t *)hb_job { NSAssert(self.title, @"HBJob: calling hb_job without a valid title loaded"); + NSAssert(self.destURL, @"HBJob: calling hb_job without a valid destination"); hb_title_t *title = self.title.hb_title; hb_job_t *job = hb_job_init(title); |