VLCTime needs hash and isEqual: methods
For more than pointer equality testing, the class VLCTime should implement both hash and isEqual: which could be as simple as the following (this would take care of the indeterminate vs 0 values):
-(BOOL )isEqual:(id )object
{
if (![object isKindOfClass:[VLCTime class]])
{
return NO;
}
else
{
return [[self description] isEqual:[object description]];
}
}
-(NSUInteger )hash
{
return [[self description] hash];
}