gecko-dev/toolkit/content
Chris Pearce 7bc425d1e8 Bug 778077 - Implement HTMLMediaElement.fastSeek(time). r=cajbir
Implement HTMLMediaElement.fastSeek(), basically by changing all the
MediaDecoderReader::Seek() overrides to not call
MediaDecoderReader::DecodeToTarget(), and have MediaDecoderReader::DecodeSeek()
call DecodeToTarget() if we're doing an accurate (non-fast) seek.

Update gizmo.mp4 to have a keyframe every second, instead of only 1 keyframe at
the start of stream. This makes the unit test I added more useful for mp4...

I pushed most of the seek target clamping logic in MediaDecoder up into
HTMLMediaElement, so that we're clamping in fewer places. Note
MediaDecoderStateMachine::Seek() still sanity checks the seek target.

We have to update the currentTime/MediaDecoder playback position after a seek
completes now, rather than assuming the seek always got it exactly right.

Removed those pesky assertions about seek target lying in the first frame after
seek, since actually sometimes the media doesn't have samples for all streams
after a seek (either due to the media being encoded like that, or because of a
bug in the platform's decoder, not entirely sure).

Green: https://tbpl.mozilla.org/?tree=Try&rev=b028258565e2
2014-03-28 15:50:28 +13:00
..
tests Bug 985318 - Convert to Promise.jsm in the Toolkit "content" folder. r=mak 2014-03-20 11:04:37 +01:00
widgets Bug 778077 - Implement HTMLMediaElement.fastSeek(time). r=cajbir 2014-03-28 15:50:28 +13:00
about.js Bug 948879 - Add about.js and move inline js to it from about: page. r=gavin, r=ttaubert 2013-12-20 11:37:48 -05:00
about.xhtml Bug 948879 - Add about.js and move inline js to it from about: page. r=gavin, r=ttaubert 2013-12-20 11:37:48 -05:00
aboutAbout.js Bug 948880 - Move inline scripts and styles into separate file for toolkit/content/aboutAbout.xhtml (URL=about:about). r=gavin 2014-02-13 14:12:39 -05:00
aboutAbout.xhtml Bug 948880 - Move inline scripts and styles into separate file for toolkit/content/aboutAbout.xhtml (URL=about:about). r=gavin 2014-02-13 14:12:39 -05:00
aboutNetworking.js Bug 981267 - Fix bad indentation in about:networking. r=valentin, r=sworkman 2014-03-13 09:47:12 -04:00
aboutNetworking.xhtml Bug 903404 - Move toolkit/content/aboutNetworking.net to toolkit/themes/shared. r=gavin 2013-08-16 15:17:53 -04:00
aboutRights-unbranded.xhtml
aboutRights.xhtml Bug 877902 - Update privacy policy link URL for desktop Firefox. r=gavin 2013-06-03 08:37:28 -07:00
aboutSupport.js Bug 948883 - Move inline scripts and styles into separate file for toolkit/content/aboutSupport.xhtml (URL=about:support). r=Unfocused 2014-03-24 09:11:21 -04:00
aboutSupport.xhtml Bug 948883 - Move inline scripts and styles into separate file for toolkit/content/aboutSupport.xhtml (URL=about:support). r=Unfocused 2014-03-24 09:11:21 -04:00
aboutTelemetry.css Bug 951435 - Add thread hang stats to about:telemetry; r=vladan 2014-01-14 23:39:16 -06:00
aboutTelemetry.js Bug 982818 - Render String and Number objects correctly. r=vladan 2014-03-12 17:11:03 -04:00
aboutTelemetry.xhtml Bug 948884 - Move inline scripts and styles into a separate file for toolkit/content/aboutTelemetry.xhtml (URL=about:telemetry). r=gps 2014-02-06 10:04:34 -05:00
aboutWebrtc.xhtml Bug 970682 - Add RTT to about:webrtc. r=bwc 2014-03-14 15:22:30 -04:00
browser-child.js Bug 984004 - Part 1: Cache parent's fullZoom\textZoom value to ensure that we always return the fresh one. r=felipc 2014-03-19 10:25:13 +01:00
browser-content.js Bug 933462 - [e10s] Pop-up blocking notifications (r=felipe) 2014-03-20 16:31:20 -07:00
buildconfig.html Remove comment reference to fix-buildconfig, which was made unused in revision ec95c1d93af0 and removed in revision e9f39220b8e7 (no bug) 2014-01-30 11:53:24 -08:00
charsetOverlay.js
charsetOverlay.xul
contentAreaUtils.js Bug 985318 - Convert to Promise.jsm in the Toolkit "content" folder. r=mak 2014-03-20 11:04:37 +01:00
customizeCharset.js
customizeCharset.xul
customizeToolbar.css
customizeToolbar.js
customizeToolbar.xul Bug 969247 part.1 Remove or replace DOM_VK_ENTER and NS_VK_ENTER users r=smaug 2014-02-15 09:57:39 +09:00
devicestorage.properties Bug 916848: Added .oga to the Device Storage's list of supported file types, r=doublec 2013-09-17 09:34:39 +02:00
directionDetector.html
directoryLinks.json Bug 975211 - Create backend logic to provide list of Tiles and associated metadata (image, text, background color) [r=adw] 2014-03-27 01:03:42 -07:00
editMenuOverlay.js
editMenuOverlay.xul
filepicker.properties
finddialog.js Bug 58986 The find dialog should autocomplete recently searched items r=Neil. 2013-11-17 22:21:55 +08:00
finddialog.xul Bug 58986 The find dialog should autocomplete recently searched items r=Neil. 2013-11-17 22:21:55 +08:00
findUtils.js
globalOverlay.js Bug 913855. Fix consumers of window mediator to be more consistent in their checking for closed windows. r=dolske 2013-09-13 17:29:51 -04:00
jar.mn Bug 975211 - Create backend logic to provide list of Tiles and associated metadata (image, text, background color) [r=adw] 2014-03-27 01:03:42 -07:00
license.html Bug 941298 - FFmpeg headers for FFmpeg PlatformDecoderModule r=doublec 2014-03-21 19:35:14 +13:00
macWindowMenu.inc
macWindowMenu.js
Makefile.in Bug 982055 - Allow option to overwrite BUILD_HOSTNAME. r=ted 2014-03-11 11:14:51 -04:00
menulist.css
moz.build Bug 774572 - Part 2: Define JAR_MANIFESTS in moz.build files; r=glandium 2013-12-10 16:18:11 +09:00
mozilla.xhtml
nsDragAndDrop.js
plugins.css
plugins.html Bug 878154 - about:plugins: plugin status is not localizable. r=bsmedberg 2013-06-07 15:21:13 -04:00
resetProfile.css
resetProfile.js Bug 833943, part 3: implement migrator changes, r=MattN, sr=gavin 2013-06-28 17:45:05 -04:00
resetProfile.xul
resetProfileProgress.xul
select-child.js Bug 897060 - Display select dropdowns in the parent process. r=enndeakin 2013-08-25 22:34:23 -03:00
textbox.css Bug 968029 - Use unprefixed box-sizing in browser/ and toolkit/. r=dao 2014-02-04 21:36:29 -07:00
treeUtils.js
viewZoomOverlay.js Bug 691614 - Make content zooming work with e10s Firefox. r=felipe 2014-01-13 18:36:26 +01:00
XPCNativeWrapper.js
xul.css Bug 972405 - Make the bookmarks panel look like all the other sub-panels. ui-r=shorlander, r=dao 2014-03-04 09:51:34 -05:00