Closed Bug 1328541 Opened 7 years ago Closed 7 years ago

Remove the call to DispatchDecodeTasksIfNeeded() from MDSM::MaybeStartPlayback()

Categories

(Core :: Audio/Video: Playback, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla53
Tracking Status
firefox53 --- fixed

People

(Reporter: jwwang, Assigned: jwwang)

References

Details

Attachments

(1 file)

http://searchfox.org/mozilla-central/rev/22be34bcc4d5c56b62482a537bba77a6cdce117b/dom/media/MediaDecoderStateMachine.cpp#2763

MaybeStartPlayback() is called by
1. CompletedState::Step() where no more decoding is needed.
2. DecodingState::Step() where DecodingState is in charge of decoding tasks to ensure smooth playback.

So we should remove the call to DispatchDecodeTasksIfNeeded() from MaybeStartPlayback().
Assignee: nobody → jwwang
Blocks: 1324999
Priority: -- → P3
Comment on attachment 8823557 [details]
Bug 1328541 - Remove the call to DispatchDecodeTasksIfNeeded() from MDSM::MaybeStartPlayback().

https://reviewboard.mozilla.org/r/102090/#review102786

LGTM
Attachment #8823557 - Flags: review?(kikuo) → review+
Thanks!
Pushed by jwwang@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9c76dbbb4bb5
Remove the call to DispatchDecodeTasksIfNeeded() from MDSM::MaybeStartPlayback(). r=kikuo
https://hg.mozilla.org/mozilla-central/rev/9c76dbbb4bb5
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: