Closed
Bug 1181504
Opened 9 years ago
Closed 9 years ago
Remove MediaDecoderStateMachine::mAudioStartTime
Categories
(Core :: Audio/Video, defect)
Core
Audio/Video
Tracking
()
RESOLVED
FIXED
mozilla42
Tracking | Status | |
---|---|---|
firefox42 | --- | fixed |
People
(Reporter: jwwang, Assigned: jwwang)
Details
Attachments
(2 files)
1.33 KB,
patch
|
kinetik
:
review+
|
Details | Diff | Splinter Review |
8.84 KB,
patch
|
kinetik
:
review+
|
Details | Diff | Splinter Review |
AudioSink keeps the time of the first audio frame in mStartTime. By having AudioSink::AudioSink() return a time including mStartTime, we can remove MediaDecoderStateMachine::mAudioStartTime. This bug also makes it easier to unify the behaviors of AudioSink and DecodedStream which are consumers of media data.
Assignee | ||
Comment 1•9 years ago
|
||
Try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=015e72fc54f7
Assignee | ||
Comment 2•9 years ago
|
||
Ensure mAudioSink is non-null in MediaDecoderStateMachine::GetAudioClock().
Assignee | ||
Comment 3•9 years ago
|
||
Remove MediaDecoderStateMachine::mAudioStartTime.
Attachment #8631377 -
Flags: review?(kinetik)
Assignee | ||
Comment 4•9 years ago
|
||
Comment on attachment 8631377 [details] [diff] [review] 1181504_part2_remove_mAudioStartTime-v1.patch Review of attachment 8631377 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/media/AudioSink.cpp @@ -71,2 @@ > { > - NS_ASSERTION(mStartTime != -1, "Should have audio start time by now"); Due to the recent refactoring of MDSM, start time is always 0 now. So audio start time is always >= 0.
Updated•9 years ago
|
Attachment #8631376 -
Flags: review?(kinetik) → review+
Comment 5•9 years ago
|
||
Comment on attachment 8631377 [details] [diff] [review] 1181504_part2_remove_mAudioStartTime-v1.patch Review of attachment 8631377 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/media/AudioSink.cpp @@ +72,2 @@ > { > + // Remove this.
Attachment #8631377 -
Flags: review?(kinetik) → review+
Assignee | ||
Comment 6•9 years ago
|
||
Thanks for the review!
https://hg.mozilla.org/integration/mozilla-inbound/rev/ee73c19e5a62 https://hg.mozilla.org/integration/mozilla-inbound/rev/1decb7ff8f34
Comment 8•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/ee73c19e5a62 https://hg.mozilla.org/mozilla-central/rev/1decb7ff8f34
Status: ASSIGNED → 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
•