Files
shaka-player/lib/text
Theodore Abshire a4e348da7b fix(text): Fixes minor bug with cue updating
There was a small bug in the cue updater that was causing our
workaround for #2076 to trigger repeatably. It turns out that
the code that detected if the cue was being successfully
removed mistakenly thought that, if a cue was removed, its
nested cues weren't removed.
This refactors the cue updating code so that it will remove
nested cues, even if they go away at the same time as the parent
cue. With this change, the actual performance of the code is no
different, but we can make the workaround for #2076 become an
assert, as we had wanted earlier.

Change-Id: Ia81068b60a42e3f25cb978cd3105d667a42a7da5
2021-10-07 19:43:34 +00:00
..