Commit c7b4a26e authored by Mike Schrag's avatar Mike Schrag Committed by Pierre d'Herbemont

macosx/framework: -[VLCMedia length] returns null every time after the first call.

Signed-off-by: default avatarPierre d'Herbemont <pdherbemont@free.fr>
parent ce7a4746
......@@ -283,9 +283,10 @@ static void HandleMediaSubItemAdded(const libvlc_event_t * event, void * self)
{
[self setLength:[VLCTime timeWithNumber:[NSNumber numberWithLongLong:duration]]];
return [[length retain] autorelease];
}
}
return [VLCTime nullTime];
}
return [VLCTime nullTime];
return [[length retain] autorelease];
}
- (VLCTime *)lengthWaitUntilDate:(NSDate *)aDate
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment