DescriptionDon't collect 'other tracks' in HTMLMediaElement::configureTextTracks
After having processed 'subtitles', 'captions', 'descriptions' and
'chapters' tracks, there's only 'metadata' tracks left (no more kinds are
currently defined). This means that the 'otherTracks' set will always be
empty. Remove it an add an assert.
Also take the opportunity to rename the various methods involved to match
the match the names of the spec. algorithms they implement.
configureTextTracks -> honorUserPreferencesForAutomaticTextTrackSelection
configureTextTrackGroup -> performAutomaticTextTrackSelection
configureMetadataTextTrackGroup -> enableDefaultMetadataTextTracks
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189262
Patch Set 1 #
Messages
Total messages: 6 (2 generated)
|