Commit Graph

81 Commits

Author SHA1 Message Date
Gerald Squelart
f4ccd23df1 Bug 1173631 - [EME] Implement async shutdown in clearkey GMP. r=cpearce
--HG--
extra : rebase_source : d6e510b5e081d581524a38a684a9cc677a5bde34
2015-06-11 22:05:00 +02:00
Chris Pearce
461ef61358 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
2e2a504271 Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj
--HG--
extra : source : 7468f9a3aa03520a29e138d4df431f0b5d90967c
2015-05-26 14:33:55 -04:00
Phil Ringnalda
49dd872168 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
9934d127c1 Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj
--HG--
extra : rebase_source : 4e915a12ba662ed45788238a5f0a45533888bd92
2015-05-25 20:45:17 -04: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
05f051d1ba 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
b7143cd0e7 Backed out changeset ddb936f4e78a (bug 1160914) for build bustage CLOSED TREE 2015-05-04 16:32:41 -07:00
Chris Pearce
b62f7d16fb 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
3a45303395 Bug 1156131 - mingw cross compilation fixup. 2015-04-29 17:39:35 +02:00
Chris Pearce
fa0f746b0c 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
c7b1e2eadc 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
4ffa422c6e 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
bdd3e51ab8 Bug 1143278 - Add more null checks in gmp-clearkey's decoders. r=edwin 2015-04-13 13:39:49 +12:00
Chris Pearce
e61fe5c00d 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
1fa249bfb8 Bug 1150437 - Make gmp-clearkey consistently Apache2 licensed. r=edwin,jwwang,kentuckyfriedtakahe 2015-04-03 09:08:27 +13:00
Andrea Marchesini
e6f385fb3d Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Edwin Flores
d888a5c88f Bug 1147689 - Increment eme-decrypt API version to v7 - r=cpearce 2015-03-26 22:58:43 +13:00
Edwin Flores
f99988363e Bug 1145405 - Add shutdown checks to main thread dispatches in ClearKey CDM - r=cpearce 2015-03-23 07:59:42 +13:00
Ehsan Akhgari
883849ee32 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
571ce099b4 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
151f899496 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
0dc4e2d797 Bug 1141386 - Test case for gmp-clearkey's base64 key/keyId decoding. r=edwin 2015-03-10 19:46:20 +13:00
Chris Pearce
2af0bf1fce 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
cac8145b4b Bug 1141386 - Backout c2de53dd52d4 and 6fdc1033f217 for breaking the build. r=bustage. 2015-03-10 17:04:33 +13:00
Chris Pearce
11bfbec7ff Bug 1141386 - Test case for gmp-clearkey's base64 key/keyId decoding. r=edwin 2015-03-10 16:49:15 +13:00
Chris Pearce
896fc7df01 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
d2907f0381 Bug 1140797 - Prevent fatal assert when doing base64 decode in gmp-clearkey. r=edwin 2015-03-09 08:27:18 +13:00
Chris Pearce
50770662aa Bug 1140797 - Make gmp-clearkey buildable outside of mozilla-central. r=edwin 2015-03-09 08:27:05 +13:00
Chris Pearce
889621fe9a Bug 1138777 - Don't do sync dispatch in gmp-clearkey AudioDecoder. r=edwin 2015-03-04 23:20:29 +13:00
Chris Pearce
1618c6fa37 Bug 1137489 - Fix unified build failure in gmp-clearkey. r=edwin 2015-02-28 16:15:18 +13:00
Chris Pearce
e4ef49ff55 Bug 1136986 - Fix unthreadsafe uses of GMPVideoHost in gmp-clearkey. r=edwin 2015-02-28 10:23:33 +13:00
Chris Pearce
2880c3a9b1 Bug 1124031 part 4 - Enforce min CDM version from keySystem string. r=bz 2015-02-20 14:38:08 +13:00
Jacek Caban
1de69a46f1 Bug 1133479 - Fixed media/gmp-clearkey build on mingw. r=cpearce 2015-02-17 11:18:04 +01:00
Chris Peterson
7eb58b57db Bug 1133291 - Remove unused code from Clear Key's openaes. r=cpearce 2015-02-15 22:07:10 -08:00
JW Wang
11407de1f6 Bug 1130917 - Part 2 - improve error handling of StoreData() and ReadData(). r=edwin. 2015-02-10 18:18:00 +01:00
Edwin Flores
82f6804a0c 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
bc2814dfe3 Bug 1075199 - More logging in ClearKey CDM - r=cpearce 2015-01-27 18:35:36 +13:00
Edwin Flores
4e3006ddd2 Bug 1075199 - WMF decoding in ClearKey CDM - r=cpearce 2015-01-16 10:37:54 +13:00
Edwin Flores
f68bdd6433 Bug 1075199 - Import WMF decoding code from cpearce's gmp-clearkey implementation - r=cpearce 2015-01-16 10:37:54 +13:00
JW Wang
4d6309bd93 Bug 1083658 - add "output-downscaled" to GMP. r=cpearce. 2015-02-01 09:18:39 +08:00
JW Wang
c1dd9140a5 Bug 1121332. Part 1 - add media key status to gmp-api. r=cpearce. 2015-01-31 13:22:12 +13:00
JW Wang
bfc4d164a1 Bug 1124939 - Add "individualization-request" to MediaKeyMessageType. r=bz 2015-01-26 20:08:00 +01:00
Edwin Flores
e49b1630b3 Bug 1118383 - Plug memory leak in openaes - r=cpearce 2015-01-27 19:10:11 +13:00
JW Wang
a9391d3408 Bug 1102852 - add MediaKeyMessageType to and remove destinationURL from MediaKeyMessageEvent. r=cpearce,bz 2015-01-15 11:25:47 +13:00
Edwin Flores
1f04f15482 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
bf312ad056 Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
Chris Pearce
7ba4d8b1c1 Bug 1111391 - Enable keyMessages to be sent before create/load session promise is resolved. r=jwwang 2015-01-09 14:30:07 +13:00
Chris Pearce
ee2a73fe1c Bug 1109457 - Prevent potential for Join()ing a pointer held in free'd memory in gmp-clearkey. r=edwin 2014-12-19 09:55:05 +13:00
Chris Pearce
67369e80dd Bug 1109457 - Use Contains instead of std.find to detect whether we have keys in gmp-clearkey, and don't overwrite old decryptors when we get a new key. r=edwin. 2014-12-19 09:55:00 +13:00