Commit 8db0d20b authored by Felix Paul Kühne's avatar Felix Paul Kühne

playback controller: replace deprecated API call in VLCKit

This closes #143
parent 4ac3d79c
......@@ -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
......
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