Ehsan Akhgari
e5e885ae31
Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
...
# ignore-this-changeset
--HG--
extra : amend_source : 7221c8d15a765df71171099468e7c7faa648f37c
extra : histedit_source : a0cce6015636202bff09e35a13f72e03257a7695
2019-01-18 10:16:18 +01:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Jay Harris
f44f926c07
Bug 1318965 - Converts gmp-clearkey to use Chromium ContentDecryptionModule8 interface used by widevine r=cpearce
...
MozReview-Commit-ID: 6lOzItuuvdd
--HG--
extra : rebase_source : b1e98ecd166954f0a9e7e9ad8544504210998f49
extra : histedit_source : 7d73e59040f8f5c15bc26c388b4b40bf2ec1e5fe
2017-01-12 09:52:05 +13:00
Wes Kocher
07fd8cebf7
Backed out 3 changesets (bug 1318965) for frequent media test failures a=backout
...
Backed out changeset 3f756d8ee4cf (bug 1318965)
Backed out changeset 4bdf65d60c9e (bug 1318965)
Backed out changeset c1e2b6c14a7f (bug 1318965)
MozReview-Commit-ID: 6CPk5oS5AOw
--HG--
extra : source : babe3f8a0258fb592e17a590450de6ceb09460c3
2017-01-13 13:23:31 -08:00
Jay Harris
06bce5da83
Bug 1318965 - Converts gmp-clearkey to use Chromium ContentDecryptionModule8 interface used by widevine r=cpearce
...
MozReview-Commit-ID: 6lOzItuuvdd
--HG--
extra : rebase_source : 7f70380be5628c3e6668cf9fa235c8d2525bf1dc
extra : amend_source : 8d6afebb484ed59cf02907cab8991e6f232b0f69
2017-01-12 09:52:05 +13:00
Chris Pearce
812726afd0
Bug 1308821 - Ensure ClearKey doesn't parse a keyids initdata format session type parameter. r=kikuo
...
The specification doesn't require there to be a 'type' member of
the keyids init data format.
MozReview-Commit-ID: 7mOm7KwyyuC
--HG--
extra : source : c9fb674f3cb8dff4fe8734e0426e67825878015d
2016-10-09 20:42:01 -07:00
Kilik Kuo
26bd0bc8ef
Bug 1308424-[Part1] Verify the license response size while updating session. r=cpearce
...
MozReview-Commit-ID: IXZLWnbYTn9
--HG--
extra : rebase_source : fbf015e56443320c55960121e4d59379d9ffabcd
2016-10-07 18:16:30 +08:00
Phil Ringnalda
798404cf65
Backed out changeset f47181dc6ad7 (bug 1308424) for unexpectedly passing encrypted-media-update-disallowed-input.html
2016-10-11 19:23:29 -07:00
Kilik Kuo
d3d72c3b63
Bug 1308424- Verify the license response size while updating session. r=cpearce
...
MozReview-Commit-ID: AmyCOutPvWn
--HG--
extra : rebase_source : 8fd1c98ba5039fc55ee3e5ac8b9cfc61f9dee4e2
2016-10-07 18:16:30 +08:00
Kilik Kuo
eafec00033
Bug 1289968 - [Part2] Provide max length limitation for KeyIds and Webm Initdata, then correct cooresponding web-platform-tests meta file. r=gerald
...
MozReview-Commit-ID: DbaF1wZXwav
--HG--
extra : transplant_source : %F4%FF%5E%E4%DBN%B8%15%23%2A%BD%E3%D4P%DF%A8%98n%F7%ED
2016-09-17 03:24:49 +08:00
Chris Pearce
b6c7bf750a
Bug 1287000 - Ensure ClearKey's CENC PSSH parser can handle PSSH boxes with a 0 size field. r=jwwang
...
Google's Web Platform EME tests contain a CENC PSSH box with a 0 size field.
Our existing PSSH parser in our ClearKey plugin doesn't handle this well, it
gets stuck in an infinite loop. We should really handle everything that Chrome
handles, so we should handle this input.
We also shouldn't really be using raw pointers in the PSSH parser.
So rewrite the PSSH parser to use a ByteReader, and handle an invalid 0 sized
common SystemID box.
Also add gtests for the parser, and skip over PSSH boxes with unknown SystemIDs
(if they have valid sizes that is).
MozReview-Commit-ID: CdVPpphAJV
--HG--
extra : rebase_source : e9a1b439f8b371653c2c97322a2db64cafef6dd8
2016-07-15 09:31:07 +12:00
Chris Pearce
d6743b5aff
Bug 1186406 - Copy input to ClearKey's decoder, so we can return its containing shmem earlier. r=gerald
...
We're failing in the "Very rough kill-switch" case in
GMPVideoDecoderParent::Decode() we find that too many shmems are in use when we
come to send a "Decode" message to the GMP, and that causes an error which
percolates up to cause the test failure.
This patch changes gmp-clearkey to copy the input encrypted and compressed
sample and immediately return the shmem to the parent process. We are
copying the data anyway when we decrypt, so we can rejigg things so that we
don't actually end up doing a second copy.
2015-12-01 18:13:58 +13:00
Chris Pearce
efc8956d13
Bug 1228461 - Implement keyids initData type for ClearKey. r=gerald
2015-11-27 17:13:40 +13:00
Chris Pearce
e811a7d2e6
Bug 1181436 - Use 'gmp-api/' prefix consistently in includes in gmp-clearkey. r=gerald
2015-07-08 17:12:47 +12:00
Chris Pearce
82d33ace6a
Bug 1160914
- Use locks for gmp-clearkey threadsafe refcounting when std::atomic is not easily available. r=edwin
2015-05-06 11:40:42 +12:00
Chris Pearce
1fa249bfb8
Bug 1150437 - Make gmp-clearkey consistently Apache2 licensed. r=edwin,jwwang,kentuckyfriedtakahe
2015-04-03 09:08:27 +13:00
Chris Pearce
a23d2bdf73
Bug 1109457 - Add persistent session to our ClearKey CDM. r=edwin
2014-12-19 09:54:34 +13:00
Ryan VanderMeulen
7acf8539fb
Backed out changesets 70428bb355a4 and a0ba2f134695 (bug 1109457) for EME failures and crashes on OSX 10.6.
2014-12-18 00:22:19 -05:00
Chris Pearce
65cccb08b1
Bug 1109457 - Add persistent session to our ClearKey CDM. r=edwin
2014-12-18 16:16:13 +13:00
Ryan VanderMeulen
bf0212ce4f
Backed out changeset dc6994acf4e3 (bug 1109457) for EME test failures and crashes.
...
CLOSED TREE
2014-12-17 20:57:12 -05:00
Chris Pearce
ddd4b18d14
Bug 1109457 - Add persistent session to our ClearKey CDM. r=edwin
2014-12-18 13:23:27 +13:00
Edwin Flores
45b92aa223
Bug 1080803 - Tighten up AES decryption in ClearKey CDM - r=cpearce
2014-10-14 11:05:00 +13:00
Edwin Flores
0afabd88d4
Bug 1044742 - ClearKey CDM for testing EME - r=cpearce
2014-09-24 10:04:49 +12:00