Closed Bug 1157203 Opened 9 years ago Closed 9 years ago

SharedDecoderProxy::IsWaitingMediaResources() incorrectly returns true until data has been input

Categories

(Core :: Audio/Video, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla40
Tracking Status
firefox40 --- fixed

People

(Reporter: jya, Assigned: jya)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

SharedDecoderProxy::IsWaitingMediaResources() returns true when a decoder has been created but no data has been input yet.

This is incorrect and prevents from reading the reader's metadata as we won't call MediaDecoderReader::ReadMetadata() until IsWaitingMediaResources returns true.

This can cause a stall when changing resolution in YouTube.
Blocks: MSE
Fix SharedDecoderProxy::IsWaitingMediaResources()
Attachment #8595922 - Flags: review?(ajones)
Assignee: nobody → jyavenard
Status: NEW → ASSIGNED
Blocks: 1157075
Attachment #8595922 - Flags: review?(ajones) → review+
https://hg.mozilla.org/mozilla-central/rev/0c193e833fc3
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
You need to log in before you can comment on or make changes to this bug.