Improve buffered time ranges accuracy in the GStreamer media backend

RESOLVED FIXED in mozilla23

Status

()

RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: alessandro.d, Assigned: alessandro.d)

Tracking

Trunk
mozilla23
x86
All
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

6 years ago
Some gst elements return an estimated duration. If the estimated duration is shorter than the observed duration after playback, make GetBuffered() return the observed duration.

Fixes v.buffered.end(0) == v.duration with owl.mp3 in test_buffered.html.
(Assignee)

Comment 1

6 years ago
Created attachment 727536 [details] [diff] [review]
patch
Attachment #727536 - Flags: review?(chris.double)
(Assignee)

Updated

6 years ago
Blocks: 794282

Updated

6 years ago
Attachment #727536 - Attachment is patch: true

Updated

6 years ago
Attachment #727536 - Flags: review?(chris.double) → review+
(Assignee)

Updated

6 years ago
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/0bdd532aab3d
Assignee: nobody → alessandro.d
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
You need to log in before you can comment on or make changes to this bug.