Closed Bug 1252344 Opened 4 years ago Closed 4 years ago

Remove unnecessary checks from MediaDecoderStateMachine::NeedToDecodeVideo()

Categories

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

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla47
Tracking Status
firefox47 --- fixed

People

(Reporter: jwwang, Assigned: jwwang)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

We don't need to check IsVideoDecoding() twice.
Assignee: nobody → jwwang
Comment on attachment 8725514 [details]
MozReview Request: Bug 1252344. Part 1 - remove unnecessary checks from MediaDecoderStateMachine::NeedToDecodeVideo(). r=bechen.

https://reviewboard.mozilla.org/r/37545/#review34091
Attachment #8725514 - Flags: review?(bechen) → review+
Comment on attachment 8725515 [details]
MozReview Request: Bug 1252344. Part 2 - remove unnecessary checks from MediaDecoderStateMachine::NeedToDecodeAudio(). r=bechen.

https://reviewboard.mozilla.org/r/37547/#review34093
Attachment #8725515 - Flags: review?(bechen) → review+
Thanks!
https://hg.mozilla.org/mozilla-central/rev/bfc0b3c2844d
https://hg.mozilla.org/mozilla-central/rev/1655d7bc34e1
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
Blocks: 1253184
You need to log in before you can comment on or make changes to this bug.