Commit Graph

21334 Commits

Author SHA1 Message Date
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
Kyle Huey
dd7075b92c Bug 990330: Remove event listener to avoid leaking in test_bug_771294.xul. r=ehsan 2014-04-01 11:33:28 +08:00
Ben Turner
26b0254877 Bug 977819 - 'Allow PBackgroundChild implementors to hook into the threadlocal space'. r=mrbkap. 2014-03-31 19:55:36 -07:00
Ehsan Akhgari
4a0748324a 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
Ghislain 'Aus' Lacroix
b3e02ed902 Bug 982006 - Make GetDownloadDirectory return error for both SD card missing and SD card busy. r=bz 2014-03-31 12:10:44 -07:00
Wes Kocher
a99294076a Backed out changeset 352a2109c6e6 (bug 987387) for m-oth orange 2014-03-31 15:55:11 -07:00
Ehsan Akhgari
d19b4c3fb3 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
--HG--
extra : rebase_source : 421d0faab1db58e0d31b529e1acf70b13f9d7faf
2014-03-31 15:08:56 -04:00
Ryan VanderMeulen
28f6465e9a Merge b2g-inbound to m-c. 2014-03-31 17:27:57 -04:00
Ryan VanderMeulen
33cbfc7c25 Backed out changeset 9511f53e3f38 (bug 934367) for frequent OSX m-oth crashes.
CLOSED TREE
2014-03-31 14:51:30 -04:00
Sotaro Ikeda
54d13a5e10 Bug 985772 - Remove SurfaceDescriptor around GonkNativeWindow r=nical,pchang,schiu,mikeh,gal 2014-03-31 08:24:28 -07:00
Masatoshi Kimura
c26e2262b8 Bug 988122 - Followup: fix bogus constification code. r=bz 2014-03-31 23:54:00 +09:00
Chuck Lee
b5381dfa98 Bug 966925 - Filter scan result based on platform property. r=vchang 2014-03-20 14:39:21 +08:00
Carsten "Tomcat" Book
cf86a7b7d8 Merge mozilla-central to b2g-inbound 2014-03-31 12:56:11 +02:00
Gene Lian
f98bd19437 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
7482d09827 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
ef988a9700 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
3d7539977a 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
76b80b59a8 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
49f9689c4b Bug 983956 - Double the test timeout 2014-03-30 09:59:07 -04:00
Phil Ringnalda
8b68d74cfd Merge b-i to m-c 2014-03-29 09:18:08 -07:00
Vicamo Yang
155a8d99d4 Bug 978709 - 6/6: test cases. r=hsinyi 2014-03-29 15:18:27 +08:00
Vicamo Yang
cdf964dedb Bug 978709 - 5/6: really add an IPV4V6 option. r=hsinyi 2014-03-29 15:18:26 +08:00
Edgar Chen
2fc8f9200b Bug 978709 - 4.h/6: NetworkInterfaceListService changes. r=vicamo 2014-03-29 15:18:25 +08:00
Jessica Jong
c6c4217db6 Bug 978709 - 4.g/6: WifiNetworkInterface changes. r=vicamo 2014-03-29 15:18:24 +08:00
Jessica Jong
127df38224 Bug 978709 - 4.f/6: P2pNetworkInterface changes. r=vicamo 2014-03-29 15:18:23 +08:00
Jessica Jong
0cb92ca61e Bug 978709 - 4.e/6: nsIRILNetworkInterface changes. r=vicamo 2014-03-29 15:18:22 +08:00
Jessica Jong
723face563 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
c8544cb2c2 Bug 978709 - 4.c/6: NetworkUtils changes to support IPv4v6. f=echen, r=vicamo 2014-03-29 15:18:19 +08:00
Jessica Jong
899fec8702 Bug 978709 - 4.b/6: NetworkService changes to support IPv4v6. f=echen r=vicamo 2014-03-29 15:18:18 +08:00
Jessica Jong
e7b797a003 Bug 978709 - 4.a/6: idl changes to support IPv4v6. f=echen r=vicamo 2014-03-29 15:18:17 +08:00
Vicamo Yang
42e98bca9c Bug 978709 - 3.b/6: support multiple addresses in ril_worker. r=hsinyi 2014-03-29 15:18:16 +08:00
Vicamo Yang
2651a589d5 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
e08eee5c24 Bug 978709 - 2.e/6: remove unused data call enumeration stuff. r=hsinyi 2014-03-29 15:18:14 +08:00
Vicamo Yang
c763a82d83 Bug 978709 - 2.d/6: don't throw in _deliverDataCallCallback loop. r=hsinyi 2014-03-29 15:18:13 +08:00
Vicamo Yang
3284f1c5d5 Bug 978709 - 2.c/6: completely remove nsIRILDataCallback. r=hsinyi 2014-03-29 15:18:12 +08:00
Vicamo Yang
ef958c57b3 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
8dd297dbbc 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
3c86c42f4c Bug 978709 - 1/6: remove nsINetworkInterface::broadcast. r=hsinyi 2014-03-29 15:18:09 +08:00
Masatoshi Kimura
62ca863526 Bug 988122 - Expose Promise on non-window non-worker globals. r=bholley sr=bz 2014-03-29 15:55:53 +09:00
Boris Zbarsky
d4a40b2bea 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
3e4da18062 Merge b2g-inbound to m-c 2014-03-28 16:38:35 -07:00
Wes Kocher
1488da5db2 Merge inbound to m-c 2014-03-28 16:15:59 -07:00
Daniel Holbert
d010bcac24 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
ab88e0d360 Merge m-c to inbound 2014-03-28 17:04:03 -07:00
Ed Morley
8676037458 Backed out changeset 3e7c91f7f31e (bug 985481) for failures in test_bug975472.html 2014-03-28 18:19:04 +00:00
Ed Morley
a6281e4423 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
442425ab86 Backed out changeset 8059895497c1 (bug 988363) 2014-03-28 17:14:53 +00:00
Ed Morley
94240a402d Backed out changeset a3d1c00b6592 (bug 984919) for causing bug 988979 2014-03-28 17:03:17 +00:00
Ed Morley
2b63bd9117 Backed out changeset 7dcecf85a869 (bug 984919) 2014-03-28 17:03:00 +00:00
Terrence Cole
ee6744d6f0 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