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

RESOLVED FIXED in Firefox 40

Status

()

Core
Audio/Video
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: jya, Assigned: jya)

Tracking

(Blocks: 1 bug)

Trunk
mozilla40
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox40 fixed)

Details

Attachments

(1 attachment)

(Assignee)

Description

3 years ago
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.
(Assignee)

Updated

3 years ago
Blocks: 778617
(Assignee)

Comment 1

3 years ago
Created attachment 8595922 [details] [diff] [review]
Fix SharedDecoderProxy::IsWaitingMediaResources(

Fix SharedDecoderProxy::IsWaitingMediaResources()
Attachment #8595922 - Flags: review?(ajones)
(Assignee)

Updated

3 years ago
Assignee: nobody → jyavenard
Status: NEW → ASSIGNED
(Assignee)

Updated

3 years ago
Blocks: 1157075
Attachment #8595922 - Flags: review?(ajones) → review+
https://hg.mozilla.org/mozilla-central/rev/0c193e833fc3
Status: ASSIGNED → RESOLVED
Last Resolved: 3 years ago
status-firefox40: affected → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
You need to log in before you can comment on or make changes to this bug.