Commit Graph

21337 Commits

Author SHA1 Message Date
Wes Kocher
f0a9367a7c Merge m-c to inbound 2014-03-31 20:59:59 -07:00
Chris Pearce
a8e52798ff 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
Kyle Huey
5126bf2d7e Bug 990330: Remove event listener to avoid leaking in test_bug_771294.xul. r=ehsan 2014-04-01 11:33:28 +08:00
Ryan VanderMeulen
36404cf213 Merge m-c to fx-team. 2014-03-31 17:31:19 -04:00
Ryan VanderMeulen
6cd1cf828f Merge b2g-inbound to m-c. 2014-03-31 17:27:57 -04:00
Ryan VanderMeulen
52012c6ec6 Backed out changeset 9511f53e3f38 (bug 934367) for frequent OSX m-oth crashes.
CLOSED TREE
2014-03-31 14:51:30 -04:00
Sotaro Ikeda
37c69117b5 Bug 985772 - Remove SurfaceDescriptor around GonkNativeWindow r=nical,pchang,schiu,mikeh,gal 2014-03-31 08:24:28 -07:00
Ben Turner
096fff6e73 Bug 977819 - 'Allow PBackgroundChild implementors to hook into the threadlocal space'. r=mrbkap. 2014-03-31 19:55:36 -07:00
Ehsan Akhgari
f736bc45f6 Bug 987387 - Part 2: Add a test to ensure that sendBeacon respects private browsing by checking to see if a private cookie is set when calling sendBeacon in private browsing mode; r=jdm 2014-03-31 15:08:56 -04:00
Richard Newman
660ed70e27 Bug 989580 - Lazy load BrowserElementParent.jsm in BrowserElementParent.js. r=jst 2014-03-31 14:04:38 -07:00
Masatoshi Kimura
0435d9cdc9 Bug 988122 - Followup: fix bogus constification code. r=bz 2014-03-31 23:54:00 +09:00
Chuck Lee
e1ab56813a Bug 966925 - Filter scan result based on platform property. r=vchang 2014-03-20 14:39:21 +08:00
Carsten "Tomcat" Book
64f4845e68 Merge mozilla-central to b2g-inbound 2014-03-31 12:56:11 +02:00
Gene Lian
c8e32120ea Bug 988787 - Should fire "handle-system-messages-done" at a correct time point. r=fabrice 2014-03-31 16:14:52 +08:00
Gene Lian
7d92de279b Bug 988129 - Correct the chaotic naming styles in system message codes (part 4, alignment). r=fabrice 2014-03-31 16:04:42 +08:00
Gene Lian
31f9fd5bc1 Bug 988129 - Correct the chaotic naming styles in system message codes (part 3, s/uri/pageURL). r=fabrice 2014-03-31 16:04:36 +08:00
Gene Lian
daf1193fe8 Bug 988129 - Correct the chaotic naming styles in system message codes (part 2, s/manifest/manifestURL). r=fabrice 2014-03-31 16:04:29 +08:00
Gene Lian
779ed94d29 Bug 988129 - Correct the chaotic naming styles in system message codes (part 1, remove function name). r=fabrice 2014-03-31 16:04:11 +08:00
Ehsan Akhgari
5ded3f2ee4 Bug 983956 - Double the test timeout 2014-03-30 09:59:07 -04:00
Phil Ringnalda
7e188029e3 Merge b-i to m-c 2014-03-29 09:18:08 -07:00
Vicamo Yang
41c627df0a Bug 978709 - 6/6: test cases. r=hsinyi 2014-03-29 15:18:27 +08:00
Vicamo Yang
141c9429be Bug 978709 - 5/6: really add an IPV4V6 option. r=hsinyi 2014-03-29 15:18:26 +08:00
Edgar Chen
0c858f8485 Bug 978709 - 4.h/6: NetworkInterfaceListService changes. r=vicamo 2014-03-29 15:18:25 +08:00
Jessica Jong
a4884f4bc7 Bug 978709 - 4.g/6: WifiNetworkInterface changes. r=vicamo 2014-03-29 15:18:24 +08:00
Jessica Jong
321d22a93a Bug 978709 - 4.f/6: P2pNetworkInterface changes. r=vicamo 2014-03-29 15:18:23 +08:00
Jessica Jong
49d41bb08c Bug 978709 - 4.e/6: nsIRILNetworkInterface changes. r=vicamo 2014-03-29 15:18:22 +08:00
Jessica Jong
ec539f9721 Bug 978709 - 4.d/6: secondary routes changes to support IPv4v6. f=echen, r=vicamo 2014-03-29 15:18:20 +08:00
Jessica Jong
d0526bcd0a Bug 978709 - 4.c/6: NetworkUtils changes to support IPv4v6. f=echen, r=vicamo 2014-03-29 15:18:19 +08:00
Jessica Jong
b4f2c54fa4 Bug 978709 - 4.b/6: NetworkService changes to support IPv4v6. f=echen r=vicamo 2014-03-29 15:18:18 +08:00
Jessica Jong
6e7ca92be6 Bug 978709 - 4.a/6: idl changes to support IPv4v6. f=echen r=vicamo 2014-03-29 15:18:17 +08:00
Vicamo Yang
366b897865 Bug 978709 - 3.b/6: support multiple addresses in ril_worker. r=hsinyi 2014-03-29 15:18:16 +08:00
Vicamo Yang
7cc115fa1d Bug 978709 - 3.a/6: RIL_Data_Call_Response_v5 has also DNS server list. r=hsinyi 2014-03-29 15:18:15 +08:00
Vicamo Yang
23f4b13fb2 Bug 978709 - 2.e/6: remove unused data call enumeration stuff. r=hsinyi 2014-03-29 15:18:14 +08:00
Vicamo Yang
acc0fa401f Bug 978709 - 2.d/6: don't throw in _deliverDataCallCallback loop. r=hsinyi 2014-03-29 15:18:13 +08:00
Vicamo Yang
680d5de7a0 Bug 978709 - 2.c/6: completely remove nsIRILDataCallback. r=hsinyi 2014-03-29 15:18:12 +08:00
Vicamo Yang
6997a6fa3c Bug 978709 - 2.b/6: don't use nsIRILDataCallback in GonkGPSGeolocationProvider. r=kanru
nsIRILDataCallback has been abused in RadioInterfaceLayer.js and is
becoming an RIL internal utility.  Besides, nsIRILDataCallback has
also racing problem as described in bug 976897.  We should really use
NetworkManager observer events to replace the notification mechanism
here.
2014-03-29 15:18:11 +08:00
Vicamo Yang
4672fd7378 Bug 978709 - 2.a/6: remove nsIRILDataCallback::receiveDataCallList. r=hsinyi
nsIRILDataCallback::receiveDataCallList has been obsoleted for a long
long time and all the existing classes that implement
nsIRILDataCallback leave the function body empty.  Since we're going
to change the object layout of a |datacall| JS object, removing
related but obsoleted functions saves us some time.
2014-03-29 15:18:10 +08:00
Vicamo Yang
612f4dfdfc Bug 978709 - 1/6: remove nsINetworkInterface::broadcast. r=hsinyi 2014-03-29 15:18:09 +08:00
Masatoshi Kimura
4e9896ada9 Bug 988122 - Expose Promise on non-window non-worker globals. r=bholley sr=bz 2014-03-29 15:55:53 +09:00
Boris Zbarsky
9553dba3d6 Bug 987112. Remove the redundant and somewhat annoying parentObject argument to dictionary ToObject() methods. r=bholley 2014-03-29 01:45:10 -04:00
Wes Kocher
336f9b8d32 Merge b2g-inbound to m-c 2014-03-28 16:38:35 -07:00
Wes Kocher
24bc3a43e8 Merge inbound to m-c 2014-03-28 16:15:59 -07:00
Daniel Holbert
f5fd64e7ad Bug 988699: Remove custom NS_LOG_ADDREF / NS_LOG_RELEASE definitions in CameraCommon.h. r=mikeh 2014-03-28 17:58:31 -07:00
Wes Kocher
83c51e7bc8 Merge m-c to inbound 2014-03-28 17:04:03 -07:00
Ed Morley
e2ad59a62f Backed out changeset 3e7c91f7f31e (bug 985481) for failures in test_bug975472.html 2014-03-28 18:19:04 +00:00
Ed Morley
104a0c2f3d Backed out changeset f86715f86157 (bug 984495) for something in the push causing test_bug470212.html failures; CLOSED TREE 2014-03-28 17:15:36 +00:00
Ed Morley
ca219a1700 Backed out changeset 8059895497c1 (bug 988363) 2014-03-28 17:14:53 +00:00
Ed Morley
1850b668f4 Backed out changeset a3d1c00b6592 (bug 984919) for causing bug 988979 2014-03-28 17:03:17 +00:00
Ed Morley
07cefe5bfb Backed out changeset 7dcecf85a869 (bug 984919) 2014-03-28 17:03:00 +00:00
Terrence Cole
982a619880 Bug 987666 - Follow to remove a SkipRoot that leaked into the browser; r=bustage ON A CLOSED TREE 2014-03-28 12:01:50 -04:00