Closed
Bug 982032
Opened 10 years ago
Closed 10 years ago
Can run COMPLETED state twice
Categories
(Core :: Audio/Video, defect)
Core
Audio/Video
Tracking
()
RESOLVED
FIXED
mozilla30
People
(Reporter: cpearce, Assigned: cpearce)
References
Details
Attachments
(1 file)
1.18 KB,
patch
|
padenot
:
review+
|
Details | Diff | Splinter Review |
I think we can sometimes run the COMPLETED state of MediaDecoderStateMachine twice. This happens when multiple decode tasks both call CheckIfDecodeComplete() (which they do at their end). We check if we should be in COMPLETED state, and dispatch an event to run the state machine. But we still do this if we're already in COMPLETED state, so we may end up calling a PlaybackEnded() twice, and dispatching an "ended" event twice. I think this may be causing bug 907162 to fail again which spiked reproducing after I landed bug 973408.
Assignee | ||
Comment 1•10 years ago
|
||
Don't run COMPLETED case twice.
Attachment #8389081 -
Flags: review?(paul)
Updated•10 years ago
|
Attachment #8389081 -
Flags: review?(paul) → review+
Assignee | ||
Comment 2•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/18a5dba931ca
Comment 3•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/18a5dba931ca
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in
before you can comment on or make changes to this bug.
Description
•