Sotaro Ikeda
39fa68003d
Bug 1309802 - Supress warning r=jya
2016-10-13 06:10:31 -07:00
Carsten "Tomcat" Book
2844380bd4
merge mozilla-inbound to mozilla-central a=merge
...
--HG--
rename : media/gmp-clearkey/0.1/ClearKeyCencParser.cpp => media/psshparser/PsshParser.cpp
rename : media/gmp-clearkey/0.1/ClearKeyCencParser.h => media/psshparser/PsshParser.h
rename : media/gmp-clearkey/0.1/gtest/TestClearKeyUtils.cpp => media/psshparser/gtest/TestPsshParser.cpp
rename : media/gmp-clearkey/0.1/gtest/moz.build => media/psshparser/gtest/moz.build
2016-10-12 12:01:48 +02:00
Sotaro Ikeda
1d3ceeff04
Bug 1306521 - Handle VP9 colorspace BT.709 on BasicCompositor r=nical,jwwang,jya,jrmuizel
2016-10-11 19:46:28 -07:00
Jean-Yves Avenard
02a3f88827
Bug 1285883: Limit how many frames we will parse to detect HE-AAC. r=kamidphish
...
MozReview-Commit-ID: JJEGomJZLio
--HG--
extra : rebase_source : d9b1f1770f3e2a345cc3709ee33efddd00e115f6
2016-10-07 13:49:42 +11:00
Gerald Squelart
0e173b53b1
Bug 1176218 - p13. Reject Resolutions that are too big for Windows' decoder - r=jya
...
The WMFDecoderModule can override Supports(TrackInfo) to reject resolutions
that we know are too big for the platform decoder.
MozReview-Commit-ID: dU905wjZcJ
--HG--
extra : rebase_source : 40e5987deeffff652a88264f157391c0dbc0a2da
2016-10-07 15:51:34 +11:00
Gerald Squelart
a583c59045
Bug 1176218 - p11. PDM's Supports(TrackInfo) - r=jya
...
Add a new method alongside SupportsMimeType, which takes a TrackInfo that may
contain more information that just the MIME type.
Eventually the old SupportsMimeType should be removed, but we keep it for now,
as it is used quite extensively and it would be out of scope of this bug to
totally replace it now.
MozReview-Commit-ID: LJQBvSUB6J2
--HG--
extra : rebase_source : 6f43bf61dc6e51de3714c9a556428c7ba4fd484d
2016-10-07 15:30:30 +11:00
Ryan VanderMeulen
e980397fb4
Merge m-c to autoland. a=merge
2016-10-07 23:22:46 -04:00
Matt Woodrow
a36eef926a
Bug 1300682 - Part 5: Use KnowsCompositor to initialize decoders and create one for VideoDecoderParent to use. r=nical,jya
2016-10-07 21:13:33 +13:00
James Cheng
0fe5b0b71b
Bug 1297003 - Part1-Store the error information in MediaResult while creating a/v decoders r=gerald
...
MozReview-Commit-ID: I6R4bX778n7
--HG--
extra : rebase_source : 66f0dc1dd4cfc91daec9790b51ce413ac669b931
2016-10-06 11:19:56 +08:00
Jean-Yves Avenard
4a7fd611df
Bug 1301869: P1. Only add SPS/PPS on the first keyframe. r=cpearce
...
When we add SPS/PPS NAL in front of each keyframe data, this somehow makes the WMF decoder to misbehave and to always return an invalid timestamp.
MozReview-Commit-ID: 2SzTiwP0ii1
--HG--
extra : rebase_source : b499c83d504df772e6d722053630ff4d92306d4f
2016-10-06 11:38:52 +11:00
Chris Pearce
1c82c47cb2
Bug 1279171 - Add Windows Version checks in wmf::MFStartup() and PDMFactory::CreatePDMs(). r=mattwoodrow
...
I was able to reproduce the crash in CMFPropertyStore::CreatePropertyStore
once when running under Win95 Compatibility mode. Normally Firefox crashes
trying to start up under Compatibility mode, so it's hard for me to verify
that this patch fixes the crash. We'll just have to push it and see.
In compatibility mode, GetVersionEx() returns the Windows version being
emulated, so if we add version checks around where we start up WMF, we
should catch the users running in compatibility mode.
We can also refrain from starting the RemoteDecoderModule if we're not
going to be able to use WMF in the GPU process; if we're on Windows less
than Vista, or if we're emulating Windows less then Vista.
MozReview-Commit-ID: Iu4B1NcgHio
--HG--
extra : rebase_source : 80e9f446a60c7f4edcb1219ec2702e68376e3aa0
2016-10-04 16:05:53 +13:00
Eric Rahm
e5be6e71b3
Bug 1307223 - Don't warning multiple times about WMF dlls failing to load. r=cpearce
...
We already report failure in |LoadDlls| on the initial failure to load, there's
no need to warn more than once per session.
MozReview-Commit-ID: FhsR2ZaMSLT
--HG--
extra : rebase_source : ae7d94af5c9d9253b82b2d45dc6967b5b21c6492
2016-10-03 14:02:15 -07:00
Carsten "Tomcat" Book
5b45193594
merge mozilla-inbound to mozilla-central a=merge
2016-09-29 11:44:58 +02:00
Jim Chen
3f0f41aeb3
Bug 1305271 - 2. Add and use jni::IsFennec() for Fennec-only code; r=snorp
...
Add jni::IsFennec() that returns whether we're in a Fennec environment
(defined as the presence of the GeckoApp class). Then, add
jni::IsFennec() checks to places where we use JNI for Fennec-only classes.
2016-09-28 23:49:25 -04:00
Carsten "Tomcat" Book
572e74ee99
merge mozilla-inbound to mozilla-central a=merge
2016-09-28 15:56:33 +02:00
Alexandre Lissy
07037f896b
Bug 1305655 - Decouple Gonk TextureForwarder and CompositableForwarder (followup bug 1281456) r=nical
...
MozReview-Commit-ID: 1sUiqnFEPdx
2016-09-28 07:04:13 +02:00
Carsten "Tomcat" Book
ceb8695fd3
Merge mozilla-central to mozilla-inbound
2016-09-27 11:26:17 +02:00
Carsten "Tomcat" Book
762cd18602
Merge mozilla-central to autoland
2016-09-28 16:52:13 +02:00
James Cheng
48efb9caad
Bug 1300654 Part1-Remove MOZ_EME from code base. r=cpearce,smaug
...
MozReview-Commit-ID: JboGO0w4tcE
--HG--
extra : rebase_source : abfe53f30081f74fc39c900cab48d08c7574bfec
2016-09-08 18:06:20 +08:00
Iris Hsiao
bea139e001
Merge mozilla-central to autoland
2016-09-26 19:14:57 +08:00
Jean-Yves Avenard
dd2a72e7cc
Bug 1297311
: P1. Always recreate a decoder when SPS changes. r=cpearce
...
This allow consistency between platforms. A decoder will now always be shutdown and another one created if the video configuration changes.
MozReview-Commit-ID: 1SPzhVuBrip
--HG--
extra : rebase_source : f4d0347c4686d2f3ec0e4cf065a6c3fa36b7ea06
2016-09-26 12:28:07 +10:00
Carsten "Tomcat" Book
a65e4225ef
merge mozilla-inbound to mozilla-central a=merge
2016-09-23 12:05:53 +02:00
Matt Woodrow
cedd3bc438
Bug 1302918 - Add PVideoBridge to share textures with the compositor. r=dvander,nical
2016-09-23 09:44:26 +12:00
Kilik Kuo
a9eb354248
Bug 1302331 - [Part3] Create CryptoInfo from MediaRawData and deliver it to MediaCodecDataDecoder or remote codec decoder. r=jchen,jolin
...
MozReview-Commit-ID: 9pHHrhQPs9m
--HG--
extra : rebase_source : 34829208221e4787b25e29ad75b57d113f7e94c0
2016-09-20 16:44:30 +08:00
Carsten "Tomcat" Book
d25a5baeb8
merge mozilla-inbound to mozilla-central a=merge
2016-09-22 11:55:12 +02:00
Carsten "Tomcat" Book
23879d2b18
Merge mozilla-central to mozilla-inbound
2016-09-21 12:07:46 +02:00
Matt Woodrow
d57dae2c04
Bug 1288618 - Part 15: Add media code interface RemoteVideoDecoder. r=cpearce,dvander
2016-09-21 21:25:41 +12:00
Matt Woodrow
32054a681a
Bug 1288618 - Part 3: Avoid accessing MediaPrefs from the GPU process within WMF code. r=cpearce
2016-09-21 21:24:43 +12:00
Matt Woodrow
fb5b16533d
Bug 1288618 - Part 2: Allow allocating D3D9/11 Images when we don't have a recycling allocator available. r=nical
2016-09-21 21:24:43 +12:00
Matthew Woodrow
76c0ae8105
Bug 1288618 - Part 1: Use gfxVars for CanUseHardwareVideoDecoding so we can access it in the GPU process. r=dvander
2016-08-25 15:48:35 +12:00
Carsten "Tomcat" Book
f918af64da
Backed out 16 changesets (bug 1288618) for bustage on a CLOSED TREE
...
Backed out changeset 06187d250f7a (bug 1288618)
Backed out changeset 2a47f8ea1d89 (bug 1288618)
Backed out changeset e179c8e8265d (bug 1288618)
Backed out changeset 25396a1af922 (bug 1288618)
Backed out changeset e98f835c6ee5 (bug 1288618)
Backed out changeset 24df0e89b273 (bug 1288618)
Backed out changeset f8bbdabdb6da (bug 1288618)
Backed out changeset 8b0adeab93df (bug 1288618)
Backed out changeset 95f23366de82 (bug 1288618)
Backed out changeset 63a9c689e1d5 (bug 1288618)
Backed out changeset 8f67443dccb8 (bug 1288618)
Backed out changeset 4e7fe69d5f45 (bug 1288618)
Backed out changeset 53b113acee42 (bug 1288618)
Backed out changeset 2583ae4e2e3b (bug 1288618)
Backed out changeset 75a61d0e71b7 (bug 1288618)
Backed out changeset da740b4fd484 (bug 1288618)
2016-09-21 08:44:11 +02:00
Matt Woodrow
3fda415233
Bug 1288618 - Part 15: Add media code interface RemoteVideoDecoder. r=cpearce,dvander
...
--HG--
extra : rebase_source : 54a983d25885722ec24a8c68fda54b08b2820a7c
2016-09-21 15:36:41 +12:00
Matt Woodrow
56fc7b3464
Bug 1288618 - Part 3: Avoid accessing MediaPrefs from the GPU process within WMF code. r=cpearce
...
--HG--
extra : rebase_source : 8c8d88ed1b858d59555e2c698f7faf653c8a75e6
2016-09-21 15:36:09 +12:00
Matt Woodrow
30d2768a45
Bug 1288618 - Part 2: Allow allocating D3D9/11 Images when we don't have a recycling allocator available. r=nical
...
--HG--
extra : rebase_source : 23db70f7fed43217f8e8a27b0ab73435cdd3b895
2016-09-21 15:36:09 +12:00
Matthew Woodrow
cc6a2ea1e1
Bug 1288618 - Part 1: Use gfxVars for CanUseHardwareVideoDecoding so we can access it in the GPU process. r=dvander
...
--HG--
extra : rebase_source : 3e5e4d3cebeda21a080a0f5c9bcec95ba54f960c
2016-08-25 15:48:35 +12:00
Jean-Yves Avenard
40284ca39a
Bug 1303673: P9. Make some GMP errors non fatal. r=cpearce
...
MozReview-Commit-ID: LMWQtJElle7
--HG--
extra : rebase_source : 02e9a30cf049d26b6e7f7f78c98d8b595a72cac5
2016-09-20 16:56:58 +10:00
Jean-Yves Avenard
84106ef146
Bug 1303673: P8. Details for the H264 converter. r=cpearce
...
Mark some errors as OOM as that's what they are.
MozReview-Commit-ID: 2YEgBjqzMEm
--HG--
extra : rebase_source : 2ae43c8252f93adf9d4b0f86de96875152f739a1
2016-09-20 16:32:04 +10:00
Jean-Yves Avenard
5bb9584b9b
Bug 1303673: P7. Provide MFT error code. r=cpearce
...
MozReview-Commit-ID: BnKR6CKk3eU
--HG--
extra : rebase_source : 53c105d1da372bd89698756988723f9e5ce8bed0
2016-09-20 16:18:17 +10:00
Jean-Yves Avenard
78ecdd8c4e
Bug 1303673: P6. Provide further error details for the apple decoders. r=cpearce
...
MozReview-Commit-ID: 1A0k5BWAlWW
--HG--
extra : rebase_source : da0e24eb45bbe3c07468ae84a8485a5d2f9671af
2016-09-20 16:05:32 +10:00
Jean-Yves Avenard
485daa6ea7
Bug 1303673: P4. Provide GMP error code in MediaResult. r=cpearce
...
MozReview-Commit-ID: LfXNfMymvk4
--HG--
extra : rebase_source : 12c1bf1fe0245802429bbbbf75910f2906fde9f2
2016-09-20 15:57:32 +10:00
Jean-Yves Avenard
37455bf7f4
Bug 1303673: P3. Provide decryption status in error. r=cpearce
...
MozReview-Commit-ID: GGWAYcJAZ3R
--HG--
extra : rebase_source : f88b6fee5d9e5582e7fa43f9a13f9f3d1ce7af90
2016-09-20 15:56:17 +10:00
Jean-Yves Avenard
83619b5bc0
Bug 1303673: P2. Change error code to OOM. r=cpearce
...
Only time this error can occur is if we failed to allocate memory.
MozReview-Commit-ID: A37SQnraC54
--HG--
extra : rebase_source : b05dcdaf1c91d2f94255cd870872ec80e23c81c7
2016-09-20 15:51:54 +10:00
Jean-Yves Avenard
2010639f50
Bug 1304252: P3. Further error details for agnostic decoders. r=gerald
...
MozReview-Commit-ID: 1tb4f9xQKyr
--HG--
extra : rebase_source : 37bd772240de01d9fcb2fac765f58b27e6f86c9c
2016-09-21 13:25:00 +10:00
Jean-Yves Avenard
5b5bc32ab4
Bug 1304252: P2. Provide further error details for android decoder. r=gerald
...
MozReview-Commit-ID: 8xi9MBnZsfQ
--HG--
extra : rebase_source : 529c5185802b9e9a954e3993129a9c774210de7c
2016-09-21 13:22:31 +10:00
Jean-Yves Avenard
0ac98dd6e1
Bug 1304252: P1. Provide error details for ffmpeg decoder. r=gerald
...
MozReview-Commit-ID: A0qbYNm4CjX
--HG--
extra : rebase_source : 4c9c719e9a4310ef34b99bf491c7f76bd1e5e3e4
2016-09-21 13:21:27 +10:00
Jim Chen
8e0ad67a7a
Bug 1291375 - 5. Use Fennec bindings where needed; r=snorp
...
Switch include statements from GeckoView bindings to Fennec bindings
where needed.
2016-09-16 15:13:48 -04: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
Carsten "Tomcat" Book
d2c3fe7fd3
merge autoland to mozilla-central a=merge
2016-09-14 12:07:02 +02: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