Closed
Bug 1194080
Opened 10 years ago
Closed 10 years ago
Implement MP3TrackDemuxer::GetBuffered
Categories
(Core :: Audio/Video: Playback, defect, P2)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla44
People
(Reporter: jya, Assigned: jya)
References
Details
Attachments
(1 file)
2.22 KB,
patch
|
esawin
:
review+
|
Details | Diff | Splinter Review |
The code indicates that this is dependent on bug 1169485 to be done.
But GetBuffered() is required even without MSE.
It must be implemented if we are to enable the MP3Demuxer
Updated•10 years ago
|
Updated•10 years ago
|
Priority: -- → P2
Assignee | ||
Comment 2•10 years ago
|
||
This is done by roughly estimated the duration of the MediaResource buffered range from the average bitrate.
Attachment #8668380 -
Flags: review?(esawin)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → jyavenard
Comment 3•10 years ago
|
||
Comment on attachment 8668380 [details] [diff] [review]
[mp3] Implement MP3TrackDemuxer::GetBuffered().
Review of attachment 8668380 [details] [diff] [review]:
-----------------------------------------------------------------
This depends on stable/consistent values returned by MediaResource::GetLength, but so does a lot of other code.
LGTM.
::: dom/media/MP3Demuxer.h
@@ +27,5 @@
> void NotifyDataArrived(uint32_t aLength, int64_t aOffset) override;
> void NotifyDataRemoved() override;
> + // Do not shift the calculated buffered range by the start time of the first
> + // decoded frame. The mac MP3 decoder will buffer some samples and the first
> + // frame returned has typically a start time that is non-zero ; causing our
Redundant space before ;.
Attachment #8668380 -
Flags: review?(esawin) → review+
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox44:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
You need to log in
before you can comment on or make changes to this bug.
Description
•