Commit 98b5ee79 authored by Soomin Lee's avatar Soomin Lee Committed by Carola
Browse files

VLCPlaybackController: Fix repeat current media with shuffle mode


Signed-off-by: Carola's avatarCarola Nitz <nitz.carola@googlemail.com>
parent 340c9812
......@@ -688,7 +688,7 @@ VLCMediaDelegate>
NSInteger mediaListCount = _mediaList.count;
#if TARGET_OS_IOS
if (mediaListCount > 2 && _shuffleMode) {
if (self.repeatMode != VLCRepeatCurrentItem && mediaListCount > 2 && _shuffleMode) {
NSNumber *nextIndex;
NSUInteger currentIndex = [_mediaList indexOfMedia:_listPlayer.mediaPlayer.media];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment