diff options
-rw-r--r-- | macosx/HBTitle.m | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/macosx/HBTitle.m b/macosx/HBTitle.m index 01cf53bca..078257833 100644 --- a/macosx/HBTitle.m +++ b/macosx/HBTitle.m @@ -35,7 +35,11 @@ extern NSString *keySubTrackType; @implementation HBMetadata - (instancetype)initWithMetadata:(hb_metadata_t *)data { - _hb_metadata = data; + self = [super init]; + if (self) + { + _hb_metadata = data; + } return self; } |