Jean-Yves Avenard 0fa6daa947 Bug 1277729: Ignore readyState value when reporting the buffered range. r=jwwang
For plain media playback, the buffered range will always be empty if readyState is HAVE_NOTHING has we need to decode the metadata to determine the duration and eventually decode the first frame to determine the start time. With MSE however, the buffered range is per spec directly related to the source buffer buffered range.

So we can always simply query the MediaDecoder to determine the buffered range regardless of the readyState value.

MozReview-Commit-ID: BQs8iuUCiNw

--HG--
extra : rebase_source : 28fea8a89eab38b481a15d76061debacce86274f
2016-06-03 11:46:36 +10:00
..