mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2026-04-22 14:51:23 +00:00
Use SubtitlesStream#getUrl instead of getURL
This commit is contained in:
@@ -106,7 +106,7 @@ public class VideoPlaybackResolver implements PlaybackResolver {
|
||||
SELECTION_FLAG_AUTOSELECT,
|
||||
PlayerHelper.captionLanguageOf(context, subtitle));
|
||||
final MediaSource textSource = dataSource.getSampleMediaSourceFactory()
|
||||
.createMediaSource(Uri.parse(subtitle.getURL()), textFormat, TIME_UNSET);
|
||||
.createMediaSource(Uri.parse(subtitle.getUrl()), textFormat, TIME_UNSET);
|
||||
mediaSources.add(textSource);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user