Browse Source

libvlc_media_new_path: create a media from a file path

Also rename libvlc_media_new to libvlc_media_new_location to remove
the ambiguity.
Rémi Denis-Courmont 15 years ago
parent
commit
d4ec81a098
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Sources/VLCMedia.m

+ 1 - 1
Sources/VLCMedia.m

@@ -177,7 +177,7 @@ static void HandleMediaSubItemAdded(const libvlc_event_t * event, void * self)
 {
     if (self = [super init])
     {
-        p_md = libvlc_media_new([VLCLibrary sharedInstance],
+        p_md = libvlc_media_new_location([VLCLibrary sharedInstance],
                                            [[anURL absoluteString] UTF8String]);
 
         delegate = nil;