Explorar o código

libvlc: Remove exception from media_list_player.

Pierre d'Herbemont %!s(int64=15) %!d(string=hai) anos
pai
achega
7035017a76
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      Sources/VLCMediaListPlayer.m

+ 2 - 2
Sources/VLCMediaListPlayer.m

@@ -104,7 +104,7 @@
 {
     libvlc_exception_t ex;
     libvlc_exception_init(&ex);
-    libvlc_media_list_player_play_item(instance, [media libVLCMediaDescriptor], &ex);
+    libvlc_media_list_player_play_item(instance, [media libVLCMediaDescriptor]);
     catch_exception(&ex);
 }
 
@@ -112,7 +112,7 @@
 {
     libvlc_exception_t ex;
     libvlc_exception_init(&ex);
-    libvlc_media_list_player_play(instance, &ex);
+    libvlc_media_list_player_play(instance);
     catch_exception(&ex);
 }