mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-18 16:36:56 +03:00
c014d445a4
We would incorrectly initialize the embedded captions multiple times during a Period transition, which caused duplicate cues to be given to the displayer. We also wouldn't handle the case when switching between embedded captions and external text during a Period transition. This fixes both cases and adds tests for them. This also avoids passing an empty cue list to the displayer. Fixes #2076 Change-Id: I89add3eb86ad8d93644bba14eabd11f98d57bc5e