Closed Bug 1172392 Opened 9 years ago Closed 9 years ago

Align update of audio end time of decoded stream with that of AudioSink

Categories

(Core :: Audio/Video, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla41
Tracking Status
firefox41 --- fixed

People

(Reporter: jwwang, Assigned: jwwang)

Details

Attachments

(1 file, 1 obsolete file)

This will make the behavior of decoded stream more consistent with that of AudioSink and easier to unify them which are both consumers of audio/video data.
We should update mAudioEndTime as soon as we push audio data to the stream. This is consistent with the behavior of AudioSink and makes the result of GetDecodedAudioDuration() and AudioDecodedUsecs() more accurate.
Assignee: nobody → jwwang
Status: NEW → ASSIGNED
Attachment #8617169 - Flags: review?(roc)
Thanks for the review!
rebase.
Attachment #8617169 - Attachment is obsolete: true
Attachment #8617736 - Flags: review+
https://hg.mozilla.org/mozilla-central/rev/3c1dcd0c1620
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: