Closed
Bug 1211787
Opened 10 years ago
Closed 10 years ago
Improve the accuracy of MediaDecoderStateMachine::GetDecodedAudioDuration()
Categories
(Core :: Audio/Video: Playback, defect)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla44
| Tracking | Status | |
|---|---|---|
| firefox44 | --- | fixed |
People
(Reporter: jwwang, Assigned: jwwang)
Details
Attachments
(1 file)
DedocdedStream doesn't remove the audio samples from the queue after sending them to the media stream. This results in an overestimation of the return value of GetDecodedAudioDuration().
This causes audio samples to be removed in a burst in DiscardStreamData() which happens about every 40ms and fluctuations in next frame status between NEXT_FRAME_AVAILABLE and NEXT_FRAME_UNAVAILABLE.
This also cause audio glitches more likely to happen because audio is not decoded steadily.
| Assignee | ||
Comment 1•10 years ago
|
||
| Assignee | ||
Updated•10 years ago
|
Assignee: nobody → jwwang
| Assignee | ||
Comment 2•10 years ago
|
||
Bug 1211787 - Improve the accuracy of MediaDecoderStateMachine::GetDecodedAudioDuration(). r=roc.
Attachment #8670629 -
Flags: review?(roc)
Attachment #8670629 -
Flags: review?(roc) → review+
Comment on attachment 8670629 [details]
MozReview Request: Bug 1211787 - Improve the accuracy of MediaDecoderStateMachine::GetDecodedAudioDuration(). r=roc.
https://reviewboard.mozilla.org/r/21419/#review19303
| Assignee | ||
Comment 4•10 years ago
|
||
Thanks for the review!
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox44:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
You need to log in
before you can comment on or make changes to this bug.
Description
•