DescriptionPush cue timeline management out of LoadableTextTrack
When a LoadableTextTrack receives cues from the loader, it adds them to
the cue list and notifies the CueTimeline. This is the only place where
this kind of TextTrack state is directly handled by subclasses of
TextTrack. Moving this to TextTrack we can "lock down" state - cue list
and timeline - some more, and have updates due to list-mutations in a
single place (there's currently still updates in HTMLMediaElement though.)
This also makes LoadableTextTrack look more like a provider of cues.
Transport of cues needs to be updated to use a wider type. Also make use
of Vector::swap in VTTParser while changing the signatures.
BUG=321654
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=190657
Patch Set 1 #
Messages
Total messages: 6 (2 generated)
|