Closed
Bug 1181504
Opened 10 years ago
Closed 10 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•10 years ago
|
||
| Assignee | ||
Comment 2•10 years ago
|
||
Ensure mAudioSink is non-null in MediaDecoderStateMachine::GetAudioClock().
| Assignee | ||
Comment 3•10 years ago
|
||
Remove MediaDecoderStateMachine::mAudioStartTime.
Attachment #8631377 -
Flags: review?(kinetik)
| Assignee | ||
Comment 4•10 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•10 years ago
|
Attachment #8631376 -
Flags: review?(kinetik) → review+
Comment 5•10 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•10 years ago
|
||
Thanks for the review!
Comment 8•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/ee73c19e5a62
https://hg.mozilla.org/mozilla-central/rev/1decb7ff8f34
Status: ASSIGNED → RESOLVED
Closed: 10 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
•