gecko/toolkit
Chris Pearce 223e397746 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
* * *
Bug 778077 - Fix up MediaOMXReader fastseek to ensure audio stream stays in sync with video stream. r=cajbir
2014-04-01 16:39:04 +13:00
..
components Bug 961665 - Cross compilation fixup. 2014-03-31 13:21:03 +02:00
content Bug 778077 - Implement HTMLMediaElement.fastSeek(time). r=cajbir 2014-04-01 16:39:04 +13:00
crashreporter Merge m-c to inbound 2014-03-14 23:17:32 -07:00
devtools Bug 988122 - Followup: fix bogus constification code. r=bz 2014-03-31 23:54:00 +09:00
forgetaboutsite Bug 969021 - Part 1: Consolidate moz.build data into parent moz.build files; r=ted 2014-02-06 13:00:20 -08:00
identity Bug 945363 - Ensure that FXA RPs provide an onlogout handler. r=ferjm 2014-03-18 10:07:11 -07:00
library Bug 988271 - Fixed D3D SDK detection on mingw. r=mshal,jgilbert 2014-03-31 13:21:38 +02:00
locales Bug 911098 - Implement Addon Debugger UI, r=fitzgen,harthur,mossop 2014-03-25 10:59:14 -07:00
modules Back out ab12037022ef:81f65b2f3d07 (bug 911307) for intermittent Win8 debug failures in its browser_newtab_update.js 2014-03-30 12:42:09 -07:00
mozapps Merge f-t to m-c 2014-03-30 16:31:41 -07:00
obsolete 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
profile Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg 2014-03-18 00:23:03 +00:00
system Bug 514280 Consistently declare and define IID accessors r=bsmedberg 2014-03-28 08:45:02 +00:00
themes Backed out changeset 25877e8f89c2 (bug 610545) for browser-chrome failures 2014-03-31 16:05:04 +01:00
webapps Bug 981249 - Test app launch. r=myk 2014-03-27 12:56:00 +01:00
xre Bug 984196 - glxtest should use _exit instead of exit. r=bgirard 2014-03-28 16:06:18 -04:00
moz.build
toolkit.mozbuild Bug 977859 - Drop uid 0 in all content processes immediately after fork. r=bent r=kang 2014-03-12 15:48:15 -07:00