Closed
Bug 1212176
Opened 9 years ago
Closed 9 years ago
Remove arguments provided to MediaDataDemuxer::NotifyDataArrived
Categories
(Core :: Audio/Video: Playback, defect)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla44
Tracking | Status | |
---|---|---|
firefox44 | --- | fixed |
People
(Reporter: jya, Assigned: jya)
References
Details
Attachments
(1 file)
10.10 KB,
patch
|
cpearce
:
review+
|
Details | Diff | Splinter Review |
NotifyDataArrived is an extremely unreliable mechanism to parse data. When playing a plain video or audio file (such as MP3 or demuxer), the MDSM will typically start downloading the file to determine the download bitrate. This causes the associated MediaResource to fire NotifyDataArrived before the MediaDataDemuxer has even been initialized. If the file was small enough, it would be entirely cached before the MediaFormatReader attempts to use the demuxer and no NotifyDataArrived would even be called on the demuxer. We should make it clearer by making the description of MediaDataDemuxer::NotifyDataArrived more explicit, and even remove the arguments as they ultimately serve no purpose being so unreliable.
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → jyavenard
Assignee | ||
Comment 1•9 years ago
|
||
Be more explicit on what it does and how it should be used.
Attachment #8670576 -
Flags: review?(cpearce)
Updated•9 years ago
|
Attachment #8670576 -
Flags: review?(cpearce) → review+
https://hg.mozilla.org/mozilla-central/rev/af903bae2619
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.
Description
•