Closed Bug 1237174 Opened 8 years ago Closed 8 years ago

Remove some unnecessary code from MDSM

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla46
Tracking Status
firefox46 --- fixed

People

(Reporter: jwwang, Assigned: jwwang)

Details

Attachments

(1 file)

After overhauling the thread model of MDSM, there are some code that can be removed  like [1]. There is no way for mState to change to something else in the case of DECODER_STATE_COMPLETED.

[1] https://hg.mozilla.org/mozilla-central/file/29258f59e5456a1a518ccce6b473b50c1173477e/dom/media/MediaDecoderStateMachine.cpp#l2364
Comment on attachment 8704493 [details]
MozReview Request: Bug 1237174 - Remove the unnecessary code since mState won't change in the case of DECODER_STATE_COMPLETED.

https://reviewboard.mozilla.org/r/29685/#review26511
Attachment #8704493 - Flags: review?(bechen) → review+
Thanks!
Assignee: nobody → jwwang
https://hg.mozilla.org/mozilla-central/rev/f5ec5ef461de
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla46
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: