[Webkit-unassigned] [Bug 114330] Refactor TextTrack and TextTrackList to make it easier to add audio and video tracks

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 11 20:07:39 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=114330


Brendan Long <b.long at cablelabs.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #197466|0                           |1
        is obsolete|                            |
 Attachment #197466|review?, commit-queue?      |
               Flag|                            |




--- Comment #15 from Brendan Long <b.long at cablelabs.com>  2013-04-11 20:05:52 PST ---
(From update of attachment 197466)
This doesn't build since I added the removetrack event, and I need some time to figure out how to handle some things better.

The most annoying part of this is that Vector<RefPtr<TrackBase> > can't be cast to Vector<RefPtr<TextTrack> >, which makes TextTrackList.cpp significantly more complicated than it needs to be. I'm thinking I can just make m_elementTracks and m_addTrackTracks(?) into Vector<RefPtr<TrackBase> > also, but it will make the code more complicated. I think if I move the track index and isRendered() code into TrackBase it will work, I just need to make sure that those make sense for audio and video tracks.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list