Closed Bug 1209850 Opened 9 years ago Closed 9 years ago

Streamline initialization of decoders in MediaFormatReader

Categories

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

43 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla44
Tracking Status
firefox44 --- fixed

People

(Reporter: jya, Assigned: jya)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

The MediaFormatReader always have to wait for all decoders to be initialized before attempting to decode a sample.

This is u unnecessary, and we only need to wait for the specific decoder (audio or video) to be initialized.

Additionally, we will start to demux and decode prior the decoders being ready under some circumstances. We shouldn't.
Attachment #8667722 - Flags: review?(ayang)
Attachment #8667722 - Flags: review?(ayang) → review+
Flags: needinfo?(jyavenard)
https://hg.mozilla.org/mozilla-central/rev/f13301365de3
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: