| Summary: | Captions during HLS playback flash/are difficult to read | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Brent Fulgham <bfulgham> | ||||
| Component: | Media | Assignee: | Brent Fulgham <bfulgham> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | bfulgham, calvaris, commit-queue, eric.carlson, esprehn+autocc, gyuyoung.kim, philipj, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Bug Depends on: | 132715 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
Brent Fulgham
2014-05-28 17:05:29 PDT
Created attachment 232223 [details]
Patch
Comment on attachment 232223 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=232223&action=review Thanks! > Source/WebCore/html/track/DataCue.cpp:-131 > - if (cue.cueType() != TextTrackCue::Data) > - return false; > - Is it necessary to remove this? If so, how can it be safe given that we call toDataCue() below (which will ASSERT if passed a non-datacue)? > Source/WebCore/html/track/TextTrackCue.cpp:242 > +bool TextTrackCue::isStartOfCue(const TextTrackCue& cue) const I am not wild about this name because I didn't know what it was supposed to check until I found it and read the code. How about something like "isCueExtension", or "extendsCue"? Or something else... Comment on attachment 232223 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=232223&action=review >> Source/WebCore/html/track/DataCue.cpp:-131 >> - > > Is it necessary to remove this? If so, how can it be safe given that we call toDataCue() below (which will ASSERT if passed a non-datacue)? It's still part of the "isEqual" method (see below), but I'll add it back here so we can avoid ASSERTing. >> Source/WebCore/html/track/TextTrackCue.cpp:242 >> +bool TextTrackCue::isStartOfCue(const TextTrackCue& cue) const > > I am not wild about this name because I didn't know what it was supposed to check until I found it and read the code. How about something like "isCueExtension", or "extendsCue"? Or something else... I'll use "doesExtendCue". Committed r169440: <http://trac.webkit.org/changeset/169440> |