Commit Graph

84 Commits

Author SHA1 Message Date
Birunthan Mohanathas
e52329c788 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Gerald Squelart
8ac3b7e6af Bug 1182363 - Added missing 'else' to prevent wrong error logging. r=edwin 2015-07-09 18:22:00 +02:00
Chris Pearce
c2b58a33df Bug 1181436 - Use 'gmp-api/' prefix consistently in includes in gmp-clearkey. r=gerald 2015-07-08 17:12:47 +12:00
Gerald Squelart
52007e9665 Bug 1173631 - [EME] Implement async shutdown in clearkey GMP. r=cpearce 2015-06-11 22:05:00 +02:00
Chris Pearce
3786dd969e Bug 1169129 - Test that an EME GMP can instantiate a plugin before report we support that keySystem. r=edwin 2015-06-05 21:55:51 +12:00
Botond Ballo
0fe06cffa0 Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj 2015-05-26 14:33:55 -04:00
Phil Ringnalda
f3d4dd7e09 Back out 3 changesets (bug 1119980) for emulator-l bustage
CLOSED TREE

Backed out changeset 12ce98475c6e (bug 1119980)
Backed out changeset bdb8d05f8870 (bug 1119980)
Backed out changeset a68a18840492 (bug 1119980)
2015-05-25 18:48:51 -07:00
Botond Ballo
9a8e8b29e8 Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj 2015-05-25 20:45:17 -04:00
Chris Pearce
2d1c9f6a2b 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
e6f1e550bf Bug 1160914 - Make gmp-clearkey's decoders threadsafe refcounted, to handle DecodingComplete while GMPVideoHost::CreateFrame() is waiting. r=edwin 2015-05-06 11:40:40 +12:00
Wes Kocher
9572d96a59 Backed out changeset ddb936f4e78a (bug 1160914) for build bustage CLOSED TREE 2015-05-04 16:32:41 -07:00
Chris Pearce
488459fe55 Bug 1160914 - Make gmp-clearkey's decoders threadsafe refcounted, to handle DecodingComplete while GMPVideoHost::CreateFrame() is waiting. r=edwin 2015-05-05 11:21:55 +12:00
Jacek Caban
68b7476b2e Bug 1156131 - mingw cross compilation fixup. 2015-04-29 17:39:35 +02:00
Chris Pearce
d8be9299fd Bug 1156131 - Use correct DLL on WinVista, 7, and 8 for WMF decoding in gmp-clearkey. r=edwin 2015-04-20 20:07:24 +12:00
Chris Pearce
7f6cf00de3 Bug 1143278 - Support IYUV and I420 in gmp-clearkey on Windows, as Win 7 Enterprise N's H.264 decoder doesn't output I420. r=edwin 2015-04-13 13:39:56 +12:00
Chris Pearce
ede984649b Bug 1143278 - Use a different CLSID to instantiate the H264 decoder MFT in gmp-clearkey, as Win 7 Enterprise N requires that. r=edwin 2015-04-13 13:39:53 +12:00
Chris Pearce
5d8141f882 Bug 1143278 - Add more null checks in gmp-clearkey's decoders. r=edwin 2015-04-13 13:39:49 +12:00
Chris Pearce
d432eb8513 Bug 1143278 - Make gmp-clearkey not require a Win8 only DLL to decode audio on Win7. r=edwin 2015-04-13 13:39:46 +12:00
Chris Pearce
c6b9aa5b0a Bug 1150437 - Make gmp-clearkey consistently Apache2 licensed. r=edwin,jwwang,kentuckyfriedtakahe 2015-04-03 09:08:27 +13:00
Andrea Marchesini
b212600c95 Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Edwin Flores
d52d526557 Bug 1147689 - Increment eme-decrypt API version to v7 - r=cpearce 2015-03-26 22:58:43 +13:00
Edwin Flores
38b1730747 Bug 1145405 - Add shutdown checks to main thread dispatches in ClearKey CDM - r=cpearce 2015-03-23 07:59:42 +13:00
Ehsan Akhgari
33bb32f549 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Phil Ringnalda
6799917ec4 Back out 7f1f85ee4ba6 (bug 1143278) for Win7 near-permaorange in test_eme_canvas_blocked.html 2015-03-15 18:30:53 -07:00
Chris Pearce
764285660f Bug 1143278 - Make gmp-clearkey not require a Win8 only DLL to decode audio on Win7. r=edwin 2015-03-15 11:30:24 +13:00
Chris Pearce
2e2aeb3b93 Bug 1141386 - Test case for gmp-clearkey's base64 key/keyId decoding. r=edwin 2015-03-10 19:46:20 +13:00
Chris Pearce
0db770ae66 Bug 1141386 - Don't always assume base64 encoded EME key/Ids have padding stripped. r=edwin 2015-03-10 19:46:09 +13:00
Chris Pearce
8818b934a0 Bug 1141386 - Backout c2de53dd52d4 and 6fdc1033f217 for breaking the build. r=bustage. 2015-03-10 17:04:33 +13:00
Chris Pearce
b7c07f711c Bug 1141386 - Test case for gmp-clearkey's base64 key/keyId decoding. r=edwin 2015-03-10 16:49:15 +13:00
Chris Pearce
a40332c31f Bug 1141386 - Don't always assume base64 encoded EME key/Ids have padding stripped. r=edwin 2015-03-10 16:49:03 +13:00
Chris Pearce
fecff1aecf Bug 1140797 - Prevent fatal assert when doing base64 decode in gmp-clearkey. r=edwin 2015-03-09 08:27:18 +13:00
Chris Pearce
512ef32e2f Bug 1140797 - Make gmp-clearkey buildable outside of mozilla-central. r=edwin 2015-03-09 08:27:05 +13:00
Chris Pearce
68714a61eb Bug 1138777 - Don't do sync dispatch in gmp-clearkey AudioDecoder. r=edwin 2015-03-04 23:20:29 +13:00
Chris Pearce
b916b705c7 Bug 1137489 - Fix unified build failure in gmp-clearkey. r=edwin 2015-02-28 16:15:18 +13:00
Chris Pearce
5a274caae7 Bug 1136986 - Fix unthreadsafe uses of GMPVideoHost in gmp-clearkey. r=edwin 2015-02-28 10:23:33 +13:00
Chris Pearce
d8e338b4ef Bug 1124031 part 4 - Enforce min CDM version from keySystem string. r=bz 2015-02-20 14:38:08 +13:00
Jacek Caban
34f55685ee Bug 1133479 - Fixed media/gmp-clearkey build on mingw. r=cpearce 2015-02-17 11:18:04 +01:00
Chris Peterson
6873756e64 Bug 1133291 - Remove unused code from Clear Key's openaes. r=cpearce 2015-02-15 22:07:10 -08:00
JW Wang
d849892fc5 Bug 1130917 - Part 2 - improve error handling of StoreData() and ReadData(). r=edwin. 2015-02-10 18:18:00 +01:00
Edwin Flores
71474735c1 Bug 1075199 - Output a different clearkey.info depending on platform - r=cpearce,gps
--HG--
rename : media/gmp-clearkey/0.1/clearkey.info => media/gmp-clearkey/0.1/clearkey.info.in
2015-02-03 16:59:39 +13:00
Edwin Flores
e6979544a2 Bug 1075199 - More logging in ClearKey CDM - r=cpearce 2015-01-27 18:35:36 +13:00
Edwin Flores
8aa8ebd09e Bug 1075199 - WMF decoding in ClearKey CDM - r=cpearce 2015-01-16 10:37:54 +13:00
Edwin Flores
c4b974a36f Bug 1075199 - Import WMF decoding code from cpearce's gmp-clearkey implementation - r=cpearce 2015-01-16 10:37:54 +13:00
JW Wang
85bd4cbdce Bug 1083658 - add "output-downscaled" to GMP. r=cpearce. 2015-02-01 09:18:39 +08:00
JW Wang
5fdc2d3679 Bug 1121332. Part 1 - add media key status to gmp-api. r=cpearce. 2015-01-31 13:22:12 +13:00
JW Wang
f1a11bd3a0 Bug 1124939 - Add "individualization-request" to MediaKeyMessageType. r=bz 2015-01-26 20:08:00 +01:00
Edwin Flores
87534954ee Bug 1118383 - Plug memory leak in openaes - r=cpearce 2015-01-27 19:10:11 +13:00
JW Wang
b771065286 Bug 1102852 - add MediaKeyMessageType to and remove destinationURL from MediaKeyMessageEvent. r=cpearce,bz 2015-01-15 11:25:47 +13:00
Edwin Flores
44388987cf Bug 1075199 - Separate session management from ClearKeyDecryptionManager - r=cpearce
--HG--
rename : media/gmp-clearkey/0.1/ClearKeyDecryptionManager.cpp => media/gmp-clearkey/0.1/ClearKeySessionManager.cpp
2015-01-12 20:15:55 +13:00
Masatoshi Kimura
f70d08c5aa Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00