Closed
Bug 1211787
Opened 9 years ago
Closed 9 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•9 years ago
|
||
Try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=1908b7e73e1d
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → jwwang
Assignee | ||
Comment 2•9 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•9 years ago
|
||
Thanks for the review!
https://hg.mozilla.org/mozilla-central/rev/029c4ffba064
Status: NEW → RESOLVED
Closed: 9 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
•