]> git.sesse.net Git - vlc/blobdiff - projects/macosx/framework/Sources/VLCMediaListPlayer.m
macosx/framework: Get rid of VLCMediaListAspect, and remove a bunch of exception.
[vlc] / projects / macosx / framework / Sources / VLCMediaListPlayer.m
index 278362af3c9014dbcebfe271d1c2dd362932f4b4..f79bb4db52a1aed9042265a2e03945b4198c419a 100644 (file)
     {
         _mediaPlayer = [[VLCMediaPlayer alloc] init];
 
-        libvlc_exception_t ex;
-        libvlc_exception_init(&ex);
-        instance = libvlc_media_list_player_new([VLCLibrary sharedInstance], &ex);
-        catch_exception(&ex);
+        instance = libvlc_media_list_player_new([VLCLibrary sharedInstance]);
         libvlc_media_list_player_set_media_player(instance, [_mediaPlayer libVLCMediaPlayer]);
     }
     return self;