Make MediaSource::GetBuffered more readable w.r.t the spec algorithm, and improve logging of TimeRanges.

RESOLVED FIXED in mozilla34

Status

()

defect
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: kinetik, Assigned: kinetik)

Tracking

(Blocks 1 bug)

unspecified
mozilla34
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Assignee

Description

5 years ago
Catch null task queue with early assert.

SubBufferDecoder can hold an AbstractMediaDecoder if NotifyDataArrived is added to the interface.  This saves passing "this" to MediaSourceReader::CreateSubDecoder.

Improve logging of TimeRanges.
Assignee

Comment 1

5 years ago
Posted patch patch v0Splinter Review
Make GetBuffered more readable wrt spec algorithm.  Improve logging of TimeRanges.  Add some asserts.  Add NotifyDataAvailable to AbstractMediaDecoder so SourceBuffer can hold an AbstractMediaDecoder.
Attachment #8476438 - Flags: review?(cajbir.bugzilla)
Assignee

Updated

5 years ago
Blocks: MSE

Updated

5 years ago
Attachment #8476438 - Flags: review?(cajbir.bugzilla) → review+
https://hg.mozilla.org/mozilla-central/rev/151a4beda6ef
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
You need to log in before you can comment on or make changes to this bug.