| Summary: | [Mac] DataCues do not work properly when rewinding video | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Brent Fulgham <bfulgham> | ||||||
| Component: | WebKit Misc. | 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-20 14:46:11 PDT
This bug was introduced with Bug 132715 (Changeset <http://trac.webkit.org/changeset/168519>). 1. DataCue objects do not provide the correct startTimeVariance value for AVFoundation use. 2. The comparison in "hasEquivalentStartTime" should be "<=", rather than "<" to handle the case of zero startTimeVariance. Created attachment 231796 [details]
Patch
Comment on attachment 231796 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=231796&action=review Did you mean to mark this r? If so, this looks good to me modulo the TextTrack.h change I don't understand. > Source/WebCore/html/track/TextTrack.h:162 > + virtual double startTimeVariance() const { return 0; } > + Why is this needed? Created attachment 231804 [details]
Patch
Comment on attachment 231796 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=231796&action=review >> Source/WebCore/html/track/TextTrack.h:162 >> + > > Why is this needed? This patch wasn't complete. Please check the current one. Committed r169146: <http://trac.webkit.org/changeset/169146> |