Procházet zdrojové kódy

VPC: fix incorrect branching (closes #15927)

Felix Paul Kühne před 9 roky
rodič
revize
779bbef876
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      Sources/VLCPlaybackController.m

+ 1 - 1
Sources/VLCPlaybackController.m

@@ -584,7 +584,7 @@ NSString *const VLCPlaybackControllerPlaybackPositionUpdated = @"VLCPlaybackCont
         _playbackFailed = YES;
         self.sessionWillRestart = NO;
         [self stopPlayback];
-    } else if ((currentState == VLCMediaPlayerStateEnded || currentState == VLCMediaPlayerStateStopped) && _listPlayer.repeatMode == VLCDoNotRepeat) {
+    } else if (currentState == VLCMediaPlayerStateEnded || currentState == VLCMediaPlayerStateStopped) {
         [_listPlayer.mediaList lock];
         NSUInteger listCount = _listPlayer.mediaList.count;
         if ([_listPlayer.mediaList indexOfMedia:_mediaPlayer.media] == listCount - 1) {