https://github.com/web-platform-tests/wpt
Revision 0b35fdbaa2752260e6039cb57077cf8a710e5741 authored by Jean-Yves Avenard on 25 August 2016, 12:56:59 UTC, committed by James Graham on 25 August 2016, 13:00:31 UTC
The tests incorrectly assume that all videos start at 0. However this is often not the case, in particular for the mp4 files.
The buffered range is the intersection of the audio track and the video track. As such, if the video track starts at a later time than 0, the buffered range of the source buffer can't be starting at 0.

Rather than using different videos, we properly use the correct values; this is done to ensure that buffered range are calculated correctly, regardless of the video content.

timestamps verify with mkvinfo utility for webm and ffprobe for mp4.

See issue https://github.com/w3c/web-platform-tests/issues/1939

MozReview-Commit-ID: AMKgJHEJsWr

Upstreamed from https://bugzilla.mozilla.org/show_bug.cgi?id=1293613
1 parent a84360c
History
Tip revision: 0b35fdbaa2752260e6039cb57077cf8a710e5741 authored by Jean-Yves Avenard on 25 August 2016, 12:56:59 UTC
Don't assume that all videos start at 0.
Tip revision: 0b35fdb
File Mode Size
OWNERS -rw-r--r-- 30 bytes
create-touch-touchlist.html -rw-r--r-- 2.4 KB
historical.html -rw-r--r-- 580 bytes
multi-touch-interactions-manual.html -rw-r--r-- 1.3 KB
multi-touch-interactions.js -rw-r--r-- 15.7 KB
multi-touch-interfaces-manual.html -rw-r--r-- 9.2 KB
single-touch-manual.html -rw-r--r-- 14.7 KB
touch-globaleventhandler-interface.html -rw-r--r-- 1.7 KB
touch-retargeting.html -rw-r--r-- 1.5 KB
touch-support.js -rw-r--r-- 3.7 KB
touch-touchevent-constructor.html -rw-r--r-- 4.9 KB

back to top