Closed
Bug 1136873
Opened 10 years ago
Closed 10 years ago
Use MediaPromises for metadata decoding and fix up threading model
Categories
(Core :: Audio/Video, defect)
Tracking
()
RESOLVED
FIXED
mozilla39
Tracking | Status | |
---|---|---|
firefox39 | --- | fixed |
People
(Reporter: bholley, Assigned: bholley)
References
Details
Attachments
(2 files)
18.67 KB,
patch
|
mattwoodrow
:
review+
|
Details | Diff | Splinter Review |
6.92 KB,
patch
|
mattwoodrow
:
review+
|
Details | Diff | Splinter Review |
I've always suspected this code was racey, and bug 1133064 confirms it.
Once we land bug 1135170 and bug 1135785, we'll be in a better place to tackle this.
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → bobbyholley
Assignee | ||
Comment 1•10 years ago
|
||
Assignee | ||
Comment 2•10 years ago
|
||
Assignee | ||
Comment 3•10 years ago
|
||
Assignee | ||
Comment 4•10 years ago
|
||
Attachment #8581233 -
Flags: review?(matt.woodrow)
Assignee | ||
Comment 5•10 years ago
|
||
The previous setup is wacky, and can cause the notification to reach the state
machine before the promise rejection, which causes us to stall intermittently.
We also take the opportunity to be a bit less trigger happy when we fire it
in MediaSourceReader.cpp.
Attachment #8581234 -
Flags: review?(matt.woodrow)
Updated•10 years ago
|
Attachment #8581234 -
Flags: review?(matt.woodrow) → review+
Updated•10 years ago
|
Attachment #8581233 -
Flags: review?(matt.woodrow) → review+
Assignee | ||
Updated•10 years ago
|
Blocks: MediaMonitor
Assignee | ||
Comment 6•10 years ago
|
||
This collided pretty hard with edwin's work in bug 1134434, so I had to rebase it and run it through try again:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=fea92dd2b6fc
https://treeherder.mozilla.org/#/jobs?repo=try&revision=b6b51350e864
I've filed bug 1146485 to get this stuff fixed up nicer.
Assignee | ||
Comment 7•10 years ago
|
||
Comment 8•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/05f5e4ea3d54
https://hg.mozilla.org/mozilla-central/rev/eb2755790b78
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
You need to log in
before you can comment on or make changes to this bug.
Description
•