Skip to content

Commit

Permalink
fix(android): set title for external subtitles (#3676)
Browse files Browse the repository at this point in the history
  • Loading branch information
KrzysztofMoch committed Apr 14, 2024
1 parent f815834 commit 336b9f0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1326,7 +1326,7 @@ private Track exoplayerTrackToGenericTrack(Format format, int trackIndex, TrackS
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;
}
Expand Down

0 comments on commit 336b9f0

Please sign in to comment.