RESOLVED FIXED 135680
[Mac, iOS] Captions are appearing multiple times during repeated video play through
https://bugs.webkit.org/show_bug.cgi?id=135680
Summary [Mac, iOS] Captions are appearing multiple times during repeated video play t...
Brent Fulgham
Reported 2014-08-06 17:38:12 PDT
I broke the cue comparison logic used to determine if newly encountered cues already exist in our set of cues for Generic cues (see Bug 135332 for why I did this).
Attachments
Patch (7.19 KB, patch)
2014-08-06 18:25 PDT, Brent Fulgham
eric.carlson: review+
Brent Fulgham
Comment 1 2014-08-06 17:38:39 PDT
Brent Fulgham
Comment 2 2014-08-06 17:39:45 PDT
For Generic Cues (especially in these paint-on/roll-up modes) we want one set of ordering to decide which cues to render on screen first, and another for maintaining the time-ordered cue set for deciding whether a given cue is something we already know about.
Brent Fulgham
Comment 3 2014-08-06 18:25:23 PDT
Eric Carlson
Comment 4 2014-08-06 18:35:47 PDT
Comment on attachment 236161 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=236161&action=review > Source/WebCore/html/track/TextTrackCueGeneric.cpp:218 > +bool TextTrackCueGeneric::isOrderedBeforeDuringDisplay(const TextTrackCue* that) const As we discussed on irc, maybe "isPositionedAbove" would be clearer?
Brent Fulgham
Comment 5 2014-08-07 09:21:24 PDT
(In reply to comment #4) > (From update of attachment 236161 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=236161&action=review > > > Source/WebCore/html/track/TextTrackCueGeneric.cpp:218 > > +bool TextTrackCueGeneric::isOrderedBeforeDuringDisplay(const TextTrackCue* that) const > > As we discussed on irc, maybe "isPositionedAbove" would be clearer? Will do!
Brent Fulgham
Comment 6 2014-08-07 09:23:23 PDT
Brent Fulgham
Comment 7 2014-08-07 09:23:47 PDT
(In reply to comment #6) > Committed r172213: <http://trac.webkit.org/changeset/172213> Let's keep an eye on the Mavericks test I reactivated. If they continue to fail we can turn them back off.
Note You need to log in before you can comment on or make changes to this bug.