Browse Source

VLCPlaybackController: replace deprecated, thread-unsafe-API

Felix Paul Kühne 8 years ago
parent
commit
c8d2d628bc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Sources/VLCPlaybackController.m

+ 1 - 1
Sources/VLCPlaybackController.m

@@ -338,7 +338,7 @@ VLCMediaDelegate>
     [_mediaPlayer addObserver:self forKeyPath:@"remainingTime" options:0 context:nil];
 
     if (self.mediaList)
-        [_listPlayer playItemAtIndex:self.itemInMediaListToBePlayedFirst];
+        [_listPlayer playItemAtNumber:@(self.itemInMediaListToBePlayedFirst)];
     else
         [_listPlayer playMedia:_listPlayer.rootMedia];