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.
Created attachment 727536 [details] [diff] [review] patch
Attachment #727536 - Flags: review?(chris.double)
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.