Closed
Bug 1188804
Opened 9 years ago
Closed 9 years ago
loadedmetadata not fired when single appendBuffer contains multiple init segments
Categories
(Core :: Audio/Video: Playback, defect)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla42
Tracking | Status | |
---|---|---|
firefox42 | --- | fixed |
People
(Reporter: jya, Assigned: jya)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
4.92 KB,
patch
|
jya
:
review+
|
Details | Diff | Splinter Review |
5.10 KB,
patch
|
jya
:
review+
|
Details | Diff | Splinter Review |
If a single appendBuffer is made and contains multiple init segments ; then loadedmetadata isn't fired.
Assignee | ||
Comment 1•9 years ago
|
||
The name IsInitSegmentPresent and IsMediaSegmentPresent was misleading. As they are to return true only if data *starts* with such segment and not just contain. Carrying r+ from bug 1188341
Attachment #8640416 -
Flags: review+
Assignee | ||
Comment 2•9 years ago
|
||
We considered that mActiveTrack was a global variable, however it is reset each time a new init segment is received. Should two init segments be received in the same appendBuffer it would have been set to false, causing metadata to never be parsed. Carrying r+ from bug 1188341
Attachment #8640417 -
Flags: review+
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → jyavenard
https://hg.mozilla.org/integration/mozilla-inbound/rev/af0fcf52e4b7 https://hg.mozilla.org/integration/mozilla-inbound/rev/ce9a1842eae2
Comment 4•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/af0fcf52e4b7 https://hg.mozilla.org/mozilla-central/rev/ce9a1842eae2
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
You need to log in
before you can comment on or make changes to this bug.
Description
•