Wes Kocher
04d0da0ae2
Merge m-c to autoland, a=merge
2016-09-16 14:35:31 -07:00
Wes Kocher
76bf2680e6
Merge inbound to m-c a=merge CLOSED TREE
2016-09-16 14:31:34 -07:00
Ralph Giles
ac2fb54670
Bug 1300805 - Remove media.webvtt.enabled pref. r=kinetik,smaug
...
This API has been deployed to release for some time. There isi
no longer value to being able to quickly disable it.
MozReview-Commit-ID: Jj6CyWzP93g
--HG--
extra : rebase_source : 2dc0547229b53865a4f7cfcf7ca417eb3dec0356
2016-09-15 14:10:17 -07:00
Carsten "Tomcat" Book
0b196abd94
Merge mozilla-central to mozilla-inbound
...
--HG--
rename : devtools/shared/css-color-db.js => devtools/shared/css/color-db.js
rename : devtools/shared/css-color.js => devtools/shared/css/color.js
rename : devtools/shared/css-lexer.js => devtools/shared/css/lexer.js
rename : devtools/shared/css-parsing-utils.js => devtools/shared/css/parsing-utils.js
rename : devtools/shared/css-properties-db.js => devtools/shared/css/properties-db.js
extra : rebase_source : ee56c3191034e51bcc5e558e32c9a4f1b9da92cf
2016-09-16 13:06:24 +02:00
Carsten "Tomcat" Book
8689785991
merge mozilla-inbound to mozilla-central a=merge
2016-09-16 12:56:33 +02:00
Phil Ringnalda
cd6041148f
Backed out 5 changesets (bug 1302632) for forthcoming failures
...
Backed out changeset f2ced742d6aa (bug 1302632)
Backed out changeset 55e7962d4fc0 (bug 1302632)
Backed out changeset b20f7c887e6c (bug 1302632)
Backed out changeset 22772e4a9c72 (bug 1302632)
Backed out changeset 7d7558864a66 (bug 1302632)
2016-09-15 21:39:00 -07:00
Phil Ringnalda
f6ee0a3336
Backed out changeset 27f8a2467b31 (bug 1302935) for jsep_session_unittest failures
...
CLOSED TREE
2016-09-15 19:37:25 -07:00
Randell Jesup
6ec5958a84
bug 1302935: enable vp9 in webrtc and fix missing gof fields in codecSpecific r=pkerr,drno
...
Also required fixing tests to handle more codecs
2016-09-15 21:17:09 -04:00
Jean-Yves Avenard
b3ae2c3e66
Bug 1302632: P5. Update mochitests. r=gerald
...
The tests expected that the error code would be MEDIA_ERR_DECODE whenever we fail to open a video. However, MEDIA_ERR_DECODE is to be used only when "An error of some description occurred while decoding the media resource, after the resource was established to be usable."
All those files have errors in their metadata. Which makes the resource unusable to start with.
Similarly, networkState would be set to NETWORK_NO_SOURCE if the metadata couldn't be read.
MozReview-Commit-ID: KXVJmD3ZQlT
--HG--
extra : rebase_source : 0aa759ceff22f0c30e650593190a4d0e85292a07
2016-09-16 11:14:07 +10:00
Jean-Yves Avenard
6f81b3394d
Bug 1302632: P2. Only have Description return a non-empty string in case of error. r=jwwang
...
Will simplify the code in the following patch, not having to perform unnecessary test.
MozReview-Commit-ID: 5zUzSZgzrG9
--HG--
extra : rebase_source : dc11f757ece90a5fb00459de0938a9dfc63ca36a
2016-09-14 16:49:56 +10:00
James Cheng
ac56d342f7
Bug 1302591 - Fix compile Wmaybe-uninitialized warning on WebVTTListener.cpp. r=rillian
...
MozReview-Commit-ID: BAMUvll1p1n
--HG--
extra : transplant_source : f3%AFA%01%0Caw%A0%82%F2i%27%C8%F5%81%A3%1Ee%AE
2016-09-14 10:16:34 +08:00
Carsten "Tomcat" Book
a07a9f05fc
Merge mozilla-central to autoland
2016-09-16 14:28:01 +02:00
Randell Jesup
5f4f5f0fc6
bug 1302935: enable vp9 in webrtc and fix missing gof fields in codecSpecific r=pkerr,drno
...
Also required fixing tests to handle more codecs
2016-09-15 21:17:09 -04:00
Matthew Gregan
0ebace12e5
Bug 1302348 - Report cubeb context init failures via telemetry. r=padenot
2016-09-16 12:54:24 +12:00
Wes Kocher
14c8653f72
Merge inbound to central, a=merge
2016-09-15 16:28:10 -07:00
Jean-Yves Avenard
aa40888631
Bug 1279348: Avoid division by 0. r=kentuckyfriedtakahe
...
MozReview-Commit-ID: DSwB3J9jADK
--HG--
extra : rebase_source : 147ba3e98d203ffcf7b477e2b38c63b1286fa881
2016-09-14 11:20:41 +10:00
Jean-Yves Avenard
4387906eae
Bug 1302632: P5. Update mochitests. r=gerald
...
The tests expected that the error code would be MEDIA_ERR_DECODE whenever we fail to open a video. However, MEDIA_ERR_DECODE is to be used only when "An error of some description occurred while decoding the media resource, after the resource was established to be usable."
All those files have errors in their metadata. Which makes the resource unusable to start with.
Similarly, networkState would be set to NETWORK_NO_SOURCE if the metadata couldn't be read.
MozReview-Commit-ID: KXVJmD3ZQlT
--HG--
extra : rebase_source : 1ec3d7e764d832702e662f0b650363498e0b0761
2016-09-16 11:14:07 +10:00
Jean-Yves Avenard
9b10344e7c
Bug 1302632: P2. Only have Description return a non-empty string in case of error. r=jwwang
...
Will simplify the code in the following patch, not having to perform unnecessary test.
MozReview-Commit-ID: 5zUzSZgzrG9
--HG--
extra : rebase_source : c409a70d1aa5975b1a990a884856b3b5712bc190
2016-09-14 16:49:56 +10:00
Carsten "Tomcat" Book
08b3e66490
Merge mozilla-central to autoland
2016-09-15 12:08:47 +02:00
Alexandre Lissy
f6ee6d53f2
Bug 1302641 - Update ImageBridgeChild::GetSingleton() use after 1298938 r=nical
...
MozReview-Commit-ID: Cs7xUcPnPoz
2016-09-14 19:01:21 +02:00
Andreas Pehrson
c16451f7df
Bug 1300600 - Use TrackIter with for loop in AudioCaptureStream. r=padenot
...
Let's kill TrackIter with fire!
MozReview-Commit-ID: KNDoEtX1iFk
--HG--
extra : rebase_source : 582307a8da4ce3fa745cfe43aceaad56374c3854
2016-09-14 15:31:21 +02:00
Carsten "Tomcat" Book
d2c3fe7fd3
merge autoland to mozilla-central a=merge
2016-09-14 12:07:02 +02:00
Ben Kelly
f0d440f9d1
Bug 1300118 P1 Make TaskQueue deliver runnables to nsIEventTarget. r=bholley
2016-09-13 20:12:15 -07:00
Jean-Yves Avenard
95ee05fbb7
Bug 1302465: [MSE] Schedule eviction, even if previously the source buffer was full. r=gerald
...
Conditions may have changed (such as currentTime moving since the last attempt). So we try again.
MozReview-Commit-ID: 2zexl1FzOd7
--HG--
extra : rebase_source : 5c21f6edc438fb012e18eda45237383fc8b83794
2016-09-14 09:28:01 +10:00
David Anderson
07336b7d13
Protect ImageBridgeChild's singleton with a StaticMutex. (bug 1298938 part 5, r=mattwoodrow)
...
--HG--
extra : rebase_source : 974ad32cfaf3ba6d1af75d8857f0a35da5aa3641
2016-09-13 16:30:57 -07:00
David Anderson
62129d7cb4
Remove racy ImageBridgeChild shutdown/creation checks. (bug 1298938 part 4, r=nical)
...
--HG--
extra : rebase_source : 0419df6221d59c4e9b085015d8483267fb3d446f
2016-09-13 16:30:57 -07:00
Jean-Yves Avenard
66c6aa70b2
Bug 1300292: Call SetSeekThreshold for h264 content. r=gerald
...
MozReview-Commit-ID: C7vADo0eo2E
--HG--
extra : rebase_source : 51950a23633acc10fef4e514b305daa216229a19
2016-09-13 15:54:26 +10:00
Jean-Yves Avenard
ed9868472d
Bug 1301059: Do not use H264Converter when video decode is suspended. r=jya
...
MozReview-Commit-ID: FWvn3Xkalsl
--HG--
extra : rebase_source : 065979264f1dbf99659757e7edec5aaaf5d98e24
2016-09-07 23:59:59 +10:00
Carsten "Tomcat" Book
c737c8cee6
Merge mozilla-central to autoland
2016-09-13 13:09:21 +02:00
bechen
b4b74f3e7d
Bug 1294833 - Seperate the three track event handlers for debugging. r=jwwang
...
MozReview-Commit-ID: By12tozP1eb
--HG--
extra : transplant_source : %17%D9%F2%04%F7%1F%01%DE%23%2B%02c%1DE.1%F1%0E%2B%10
2016-09-12 14:44:22 +08:00
Byron Campen [:bwc]
6b8b80240c
Bug 1298586: Wait for an additional frame. r=drno
...
MozReview-Commit-ID: JWY1nRICIBh
--HG--
extra : rebase_source : dd5b9363855b1af5db4128e53bfb4afaa86c27ce
2016-09-08 16:19:05 -05:00
Alexandre Lissy
be9a9e8643
Bug 1302359 - Fix Promise.Reject() typo from bug 1299072 r=jya
...
MozReview-Commit-ID: 42XAL3TFGIF
2016-09-13 10:32:54 +02:00
Jean-Yves Avenard
96452b1a61
Bug 1299072: P19. Pass errors when we failed to create a decoder. r=gerald
...
MozReview-Commit-ID: 7eMfaCQiH5r
--HG--
extra : rebase_source : d8459be09567c00fc0d1b45f729432f4c2cb6351
2016-09-13 13:07:26 +10:00
Jean-Yves Avenard
70ed5282de
Bug 1299072: P18. Use MediaResult with InitPromise. r=gerald
...
MozReview-Commit-ID: JiLgiyxvfNC
--HG--
extra : rebase_source : 4cc453a5fe7b1e4f4b865c31a24a5feed64df7e4
2016-09-13 13:06:18 +10:00
Jean-Yves Avenard
ad3b418b6d
Bug 1299072: P17. Return last decoding error once threshold reached. r=gerald
...
MozReview-Commit-ID: JbZkoErRFla
--HG--
extra : rebase_source : 95122ed1628685c20fe2a21840faaee5dc9dd010
2016-09-13 13:03:21 +10:00
Jean-Yves Avenard
670f93312d
Bug 1299072: P16. Add mochitest. r=gerald
...
MozReview-Commit-ID: FRb74jIAyLN
--HG--
extra : rebase_source : 70004e5ae9da8ac7fc8957a2eb3c6600c60a19d7
2016-09-13 11:15:57 +10:00
Jean-Yves Avenard
829f0d44fc
Bug 1299072: P15. Provide additional error details for most remaining decoders. r=gerald
...
Additionally, mark non fatal decoding error as such.
Due to the complexity of WMF decoder error handling, this will be done in a follow up bug.
MozReview-Commit-ID: KHWORM8899c
--HG--
extra : rebase_source : 77ada9bb95ba4d44d1bca209e4a7d28369f24f6e
2016-09-13 11:15:36 +10:00
Jean-Yves Avenard
5b7653c571
Bug 1299072: P14. Use MediaResult between TrackBuffersManager and MediaSourceDemuxer. r=gerald
...
MozReview-Commit-ID: 99EopLYqjWh
--HG--
extra : rebase_source : a5c54de401dc0ef3d20b3c35a724666c152d6c0d
2016-09-12 15:44:31 +10:00
Jean-Yves Avenard
57a4871bb2
Bug 1299072: P13. Use MediaResult with TrackBuffersManager internal promises. r=gerald
...
MozReview-Commit-ID: AjeEAGGsetQ
--HG--
extra : rebase_source : c8b3ec6247314e53cb2c5bef1db6bb5f84d0a371
2016-09-12 15:17:16 +10:00
Jean-Yves Avenard
20dc9102e8
Bug 1299072: P12. Use MediaResult for MediaDataDemuxer promises. r=gerald
...
MozReview-Commit-ID: JeQrmoHbb8m
--HG--
extra : rebase_source : 1f4581e5789f18b358a6f5bb5f8595cc7a75110b
2016-09-12 12:22:20 +10:00
Jean-Yves Avenard
162fa5f03b
Bug 1299072: P11. Use MediaResult with AppendBuffer promises. r=gerald
...
Will allow to pass detailed failure causes in a followup patch.
MozReview-Commit-ID: 5yGjzZNcYWg
--HG--
extra : rebase_source : fdd76c98900320352ee3c349de1c40df29122ca9
2016-09-12 08:54:10 +10:00
Jean-Yves Avenard
6a25692b20
Bug 1299072: P10. Pass decoding error details to media element's error attribute. r=jwwang
...
MozReview-Commit-ID: 49DurV9WI5S
--HG--
extra : rebase_source : 469e6ed4e222fb6d6ac34843c3c3346a044c6023
2016-09-11 00:56:09 +10:00
Jean-Yves Avenard
00e8a7dabc
Bug 1299072: P9. Pass decoding error details to MediaDecoder. r=jwwang
...
MozReview-Commit-ID: uXWHhTozon
--HG--
extra : rebase_source : 7736b9d969dc680b08bffbc7610271d5cc0272be
2016-09-11 00:51:13 +10:00
Jean-Yves Avenard
f9b88ac91f
Bug 1299072: P8. Pass decoding error details through SeekTask. r=jwwang
...
MozReview-Commit-ID: bfsL6rBUfm
--HG--
extra : rebase_source : 3756e87e3b418983d86c0f04117ca176c7353df1
2016-09-11 00:45:34 +10:00
Jean-Yves Avenard
a3d152a719
Bug 1299072: P7. Use MediaResult with MetadataPromise. r=jwwang
...
MozReview-Commit-ID: KrRr8wDuPNT
--HG--
extra : rebase_source : 3df3763890a55c898ca3f00dd914e3c78fe714b1
2016-09-10 19:56:50 +10:00
Jean-Yves Avenard
c590867926
Bug 1299072: P6. Pass decoding error details to MDSM and relatives. r=jwwang
...
MozReview-Commit-ID: 4ow2nF6Syz
--HG--
extra : rebase_source : d8cc561f42ca774b3a2865042392fb4a6aea82fa
2016-09-10 16:48:53 +10:00
Jean-Yves Avenard
3108deb75c
Bug 1299072: P5. Don't rely on specific error to assess recoverability. r=jwwang
...
MozReview-Commit-ID: KSmW2TEBO9y
--HG--
extra : rebase_source : d85ea0f63ce2ce20b50b5c1f2a9e06c612e3e909
2016-09-10 10:49:54 +10:00
Jean-Yves Avenard
f4efa8be06
Bug 1299072: P4. Return extended failure details to reader. r=gerald
...
We provide even further details for the GMP decoder. Other decoders to follow.
MozReview-Commit-ID: 7NxJPec8xWv
--HG--
extra : rebase_source : f44120983070e5c107ecd5cafc762da90aab44bf
2016-09-10 09:56:53 +10:00
Jean-Yves Avenard
ccf43e591a
Bug 1299072: P3. Add MediaResult object. r=gerald
...
MozReview-Commit-ID: CNedjeEi6PE
--HG--
extra : rebase_source : 809450efef0f5e32cb80540881b1454545fe83b2
2016-09-10 01:23:31 +10:00
JW Wang
09fb09e249
Bug 1302001. Move some code to WaitForCDMState. r=kaku
...
MozReview-Commit-ID: RAvuVs7Ykq
--HG--
extra : rebase_source : e363f0abdc82cb560bc8f8a9460544195d46de53
2016-09-06 15:01:30 +08:00