fix(android): set title for external subtitles (#3676)
This commit is contained in:
parent
f815834025
commit
336b9f0220
@ -1326,7 +1326,7 @@ public class ReactExoplayerView extends FrameLayout implements
|
||||
track.setIndex(trackIndex);
|
||||
if (format.sampleMimeType != null) track.setMimeType(format.sampleMimeType);
|
||||
if (format.language != null) track.setLanguage(format.language);
|
||||
if (format.id != null) track.setTitle(format.id);
|
||||
if (format.label != null) track.setTitle(format.label);
|
||||
track.setSelected(isTrackSelected(selection, group, 0));
|
||||
return track;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user