Closed Bug 853325 Opened 12 years ago Closed 12 years ago

Improve buffered time ranges accuracy in the GStreamer media backend

Categories

(Core :: Audio/Video, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla23

People

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

References

Details

Attachments

(1 file)

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.
Attached patch patchSplinter Review
Attachment #727536 - Flags: review?(chris.double)
Blocks: 794282
Attachment #727536 - Attachment is patch: true
Attachment #727536 - Flags: review?(chris.double) → review+
Keywords: checkin-needed
Assignee: nobody → alessandro.d
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: