Closed
Bug 568162
Opened 14 years ago
Closed 14 years ago
Fix a hack leftover in the WebM seeking code from the prototype implementation
Categories
(Core :: Audio/Video, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: kinetik, Assigned: kinetik)
References
Details
Attachments
(1 file, 1 obsolete file)
1.93 KB,
patch
|
cpearce
:
review+
|
Details | Diff | Splinter Review |
Assignee | ||
Comment 1•14 years ago
|
||
I think this is what we want. Decode forward at least 2 frames (rather than just one). Use the start time of the second frame as the end time for the first frame, since we can't assume they're a fixed distance apart (and thus can't use/don't have a valid mCallbackPeriod). Asking Chris P for review since he wrote the Ogg version of this code.
Assignee | ||
Comment 2•14 years ago
|
||
Without random hunks of other patches included.
Attachment #447472 -
Attachment is obsolete: true
Attachment #447472 -
Flags: review?(chris)
Assignee | ||
Updated•14 years ago
|
Attachment #447473 -
Flags: review?(chris)
Assignee | ||
Comment 3•14 years ago
|
||
I'm not sure why, but this patch seems to make seeking quite a bit slower. Needs investigation.
Assignee | ||
Comment 4•14 years ago
|
||
I measured it by timing the start and end of nsWebMReader::Seek and it turns out that it's only slower by about what you'd expect for decoding an additional frame or so. Over approximately 400 seeks in a local copy of sync.webm, the mean time to seek is 101ms ± 5ms before and 128ms ± 6ms after.
Comment 5•14 years ago
|
||
Comment on attachment 447473 [details] [diff] [review] patch v0 Looks reasonable.
Attachment #447473 -
Flags: review?(chris) → review+
Assignee | ||
Comment 6•14 years ago
|
||
This still applies on top of the latest version of bug 566245, so it's ready to land whenever that bug does.
Updated•14 years ago
|
Keywords: checkin-needed
Whiteboard: [needs landing]
Comment 7•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/523c8b56ca16
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Whiteboard: [needs landing]
You need to log in
before you can comment on or make changes to this bug.
Description
•