Use SubtitlesStream#getUrl instead of getURL
This commit is contained in:
parent
8a1a42e83b
commit
e5ffddfc6b
3 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue