Commit 386ebd55 authored by Felix Paul Kühne's avatar Felix Paul Kühne

VLCPlaybackController: replace another occurance of deprecated API

parent 18166a3b
Pipeline #96 failed with stage
in 0 seconds
......@@ -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) {
......
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