Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
VLC-iOS
Commits
b7bf3c85
Commit
b7bf3c85
authored
Mar 09, 2018
by
Felix Paul Kühne
Browse files
playback controller: replace deprecated API call in VLCKit
This closes
#143
(cherry picked from commit
8db0d20b
)
parent
0f2b1584
Changes
1
Hide whitespace changes
Inline
Side-by-side
Sources/VLCPlaybackController.m
View file @
b7bf3c85
...
...
@@ -138,7 +138,7 @@ typedef NS_ENUM(NSUInteger, VLCAspectRatio) {
-
(
void
)
openVideoSubTitlesFromFile
:(
NSString
*
)
pathToFile
{
[
_mediaPlayer
openVideoSubTitlesFromFile
:
pathToFile
];
[
_mediaPlayer
addPlaybackSlave
:[
NSURL
fileURLWithPath
:
pathToFile
]
type
:
VLCMediaPlaybackSlaveTypeSubtitle
enforce
:
YES
];
}
-
(
void
)
playMediaList
:(
VLCMediaList
*
)
mediaList
firstIndex
:(
NSInteger
)
index
subtitlesFilePath
:(
NSString
*
)
subsFilePath
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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