Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
VLC-iOS
Commits
779bbef8
Commit
779bbef8
authored
Dec 02, 2015
by
Felix Paul Kühne
Browse files
VPC: fix incorrect branching (closes #15927)
parent
ae7cb99e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Sources/VLCPlaybackController.m
View file @
779bbef8
...
...
@@ -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
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment