Skip to content
Snippets Groups Projects
Commit 386ebd55 authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

VLCPlaybackController: replace another occurance of deprecated API

parent 18166a3b
No related branches found
No related tags found
No related merge requests found
......@@ -264,7 +264,7 @@ VLCMediaDelegate>
else
[_mediaPlayer setDeinterlaceFilter:nil];
if (self.pathToExternalSubtitlesFile)
[_mediaPlayer openVideoSubTitlesFromFile:self.pathToExternalSubtitlesFile];
[_mediaPlayer addPlaybackSlave:[NSURL fileURLWithPath:self.pathToExternalSubtitlesFile] type:VLCMediaPlaybackSlaveTypeSubtitle enforce:YES];
VLCMedia *media;
if (_mediaList) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment