Commit b7bf3c85 authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

playback controller: replace deprecated API call in VLCKit

This closes #143

(cherry picked from commit 8db0d20b)
parent 0f2b1584
......@@ -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
Supports Markdown
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