Commit d006608b authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

MacOSX/Framework: Use mediaListWithLibVLCMediaList instead of...

MacOSX/Framework: Use mediaListWithLibVLCMediaList instead of media*l*istWithLibVLCMediaList, to match the VLCMediaList class name cases.
parent f6c10807
......@@ -26,7 +26,7 @@
// TODO: Documentation
@interface VLCMediaList (LibVLCBridging)
+ (id)medialistWithLibVLCMediaList:(void *)p_new_mlist;
+ (id)mediaListWithLibVLCMediaList:(void *)p_new_mlist;
- (id)initWithLibVLCMediaList:(void *)p_new_mlist;
- (void *)libVLCMediaList;
@end
......
......@@ -399,7 +399,7 @@ static void HandleMediaDurationChanged(const libvlc_event_t *event, void *self)
else
{
[subitems release];
subitems = [[VLCMediaList medialistWithLibVLCMediaList:p_mlist] retain];
subitems = [[VLCMediaList mediaListWithLibVLCMediaList:p_mlist] retain];
libvlc_media_list_release( p_mlist );
}
[self fetchMetaInformation];
......
......@@ -72,7 +72,7 @@ static VLCMediaLibrary * sharedMediaLibrary = nil;
if (!allMedia)
{
libvlc_media_list_t *p_mlist = libvlc_media_library_media_list(mlib, NULL);
allMedia = [[VLCMediaList medialistWithLibVLCMediaList: p_mlist] retain];
allMedia = [[VLCMediaList mediaListWithLibVLCMediaList: p_mlist] retain];
libvlc_media_list_release(p_mlist);
}
return allMedia;
......
......@@ -245,7 +245,7 @@ static void HandleMediaListWillDeleteItem(const libvlc_event_t *event, void *use
@end
@implementation VLCMediaList (LibVLCBridging)
+ (id)medialistWithLibVLCMediaList:(void *)p_new_mlist;
+ (id)mediaListWithLibVLCMediaList:(void *)p_new_mlist;
{
return [[[VLCMediaList alloc] initWithLibVLCMediaList:p_new_mlist] autorelease];
}
......
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