Closed
Bug 1173657
Opened 9 years ago
Closed 9 years ago
MediaFormatReader should drain its decoder when encountering waiting for data error
Categories
(Core :: Audio/Video, defect)
Core
Audio/Video
Tracking
()
RESOLVED
FIXED
mozilla42
People
(Reporter: jya, Assigned: jya)
References
Details
Attachments
(1 file)
(deleted),
patch
|
cpearce
:
review+
|
Details | Diff | Splinter Review |
When the MediaFormatReader attempt to demux a frame, but the demuxer returns WAITING_FOR_DATA, it rejects the promise and enter wait mode (giving the MDSM a WaitingPromise).
It should attempt to drain the decoder first prior to rejecting the promise as there may be queued decoded frames ready to be output by the decoder.
Assignee | ||
Comment 1•9 years ago
|
||
Blocking bug 1171379, as if we don't drain, the waiting event will be fired on a different time than what test_WaitingOnMissingData_mp4.html expects.
Blocks: 1171379
Assignee | ||
Updated•9 years ago
|
Assignee | ||
Comment 2•9 years ago
|
||
A discontinuity can be when waiting for data, decoding error or reaching end of stream.
Attachment #8632684 -
Flags: review?(cpearce)
Updated•9 years ago
|
Attachment #8632684 -
Flags: review?(cpearce) → review+
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → jyavenard
Comment 4•9 years ago
|
||
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox42:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
You need to log in
before you can comment on or make changes to this bug.
Description
•