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
13e75086
Commit
13e75086
authored
May 09, 2016
by
Felix Paul Kühne
Browse files
vpc: correctly respect continuity options for audio and video (closes #16840)
(cherry picked from commit
19e5fb44
)
parent
5222acbe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Sources/VLCPlaybackController.m
View file @
13e75086
...
...
@@ -1023,7 +1023,7 @@ setstuff:
if
(
lastPosition
<
.
95
&&
_mediaPlayer
.
position
<
lastPosition
&&
(
duration
*
lastPosition
-
duration
)
<
-
50000
)
{
NSInteger
continuePlayback
;
if
(
!
_mediaPlayer
.
hasVideoOut
)
if
(
[
item
isAlbumTrack
]
||
[
item
isSupportedAudioFile
]
)
continuePlayback
=
[[[
NSUserDefaults
standardUserDefaults
]
objectForKey
:
kVLCSettingContinueAudioPlayback
]
integerValue
];
else
continuePlayback
=
[[[
NSUserDefaults
standardUserDefaults
]
objectForKey
:
kVLCSettingContinuePlayback
]
integerValue
];
...
...
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