mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-17 16:26:39 +03:00
ad3d4604af
When the non-UI TextDisplayer is constructed, it creates an extra TextTrack that can never be removed. This leads to a bogus text track showing up in the UI when content is played in src= mode. This changes the TextDisplayer to disable the extra TextTrack (since there is no API to remove it) and changes the Player to ignore disabled TextTracks when generating a track list for src= playbacks. Closes #2516 Change-Id: I2e651f737445049da5fa46a798a2bc0751de2822