Closed
Bug 1332530
Opened 8 years ago
Closed 8 years ago
Remove GMP device binding
Categories
(Core :: Audio/Video: GMP, defect, P3)
Core
Audio/Video: GMP
Tracking
()
RESOLVED
FIXED
mozilla54
Tracking | Status | |
---|---|---|
firefox54 | --- | fixed |
People
(Reporter: cpearce, Assigned: cpearce)
References
(Blocks 1 open bug)
Details
Attachments
(6 files)
59 bytes,
text/x-review-board-request
|
mozbugz
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
mozbugz
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
mozbugz
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
jld
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
mozbugz
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
mozbugz
:
review+
|
Details |
We can remove the device binding code now that we're dropping Adobe EME, and move the GMP loading code back into xul.
Assignee | ||
Comment 1•8 years ago
|
||
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 8•8 years ago
|
||
mozreview-review |
Comment on attachment 8831013 [details]
Bug 1332530 - Remove librlz and EME/GMP device binding code.
https://reviewboard.mozilla.org/r/107658/#review108824
Attachment #8831013 -
Flags: review?(gsquelart) → review+
Comment 9•8 years ago
|
||
mozreview-review |
Comment on attachment 8831014 [details]
Bug 1332530 - Move GMPLoader code out of plugin-container and back into XUL.
https://reviewboard.mozilla.org/r/107660/#review108830
r+ with style nit:
::: dom/media/gmp/GMPLoader.cpp:207
(Diff revision 1)
> }
> }
> #endif
> +
> +#if defined(XP_WIN) && defined(MOZ_SANDBOX)
> +class WinSandboxStarter : public mozilla::gmp::SandboxStarter {
I see you've moved this code from other files, but this file uses a different (and more correct!) style with class/function braces '{' on their own line, so could you please make the imported code consistent with its new home?
Attachment #8831014 -
Flags: review?(gsquelart) → review+
Comment 10•8 years ago
|
||
mozreview-review |
Comment on attachment 8831015 [details]
Bug 1332530 - Flatten GMPLoader and GMPLoaderImpl.
https://reviewboard.mozilla.org/r/107662/#review108832
r+ with style nits:
::: dom/media/gmp/GMPLoader.h:57
(Diff revision 1)
> -//
> // Load() takes an optional GMPAdapter which can be used to adapt non-GMPs
> // to adhere to the GMP API.
> class GMPLoader {
> public:
> - virtual ~GMPLoader() {}
> + explicit GMPLoader();
'explicit' is meaningless with a no-argument constructor. But it's harmless, so it's fine to keep if you prefer having it.
::: dom/media/gmp/GMPLoader.cpp:243
(Diff revision 1)
> -UniquePtr<GMPLoader> CreateGMPLoader() {
> - return MakeUnique<GMPLoaderImpl>(MakeSandboxStarter());
> +GMPLoader::GMPLoader()
> +{
> + mSandboxStarter = MakeSandboxStarter();
Could you please move this initialization into the constructor's member initializer list?
Attachment #8831015 -
Flags: review?(gsquelart) → review+
Comment 11•8 years ago
|
||
mozreview-review |
Comment on attachment 8831017 [details]
Bug 1332530 - Remove code to pass nodeId to GMP process.
https://reviewboard.mozilla.org/r/107666/#review108836
Attachment #8831017 -
Flags: review?(gsquelart) → review+
Comment 12•8 years ago
|
||
mozreview-review |
Comment on attachment 8831018 [details]
Bug 1332530 - Remove GMP enum storage names.
https://reviewboard.mozilla.org/r/107668/#review108838
r+ as it does what you've said in the short commit description...
But would you mind adding why you're removing this seemingly-useful API? (Is it just actually not that useful?)
Attachment #8831018 -
Flags: review?(gsquelart) → review+
Comment 13•8 years ago
|
||
mozreview-review |
Comment on attachment 8831016 [details]
Bug 1332530 - Don't require a SandboxStarter if MOZ_GMP_SANDBOX is not defined.
https://reviewboard.mozilla.org/r/107664/#review108916
Attachment #8831016 -
Flags: review?(jld) → review+
Assignee | ||
Comment 14•8 years ago
|
||
(In reply to Gerald Squelart [:gerald] from comment #12)
> Comment on attachment 8831018 [details]
> Bug 1332530 - Remove GMP enum storage names.
>
> https://reviewboard.mozilla.org/r/107668/#review108838
>
> r+ as it does what you've said in the short commit description...
> But would you mind adding why you're removing this seemingly-useful API? (Is
> it just actually not that useful?)
There is no analogous API in the Chromium CDM API. So since we've removed the Adobe Primetime CDM, and move ClearKey to the Chromium API, there's no callers for this API. So no point keeping it around.
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 21•8 years ago
|
||
Pushed by cpearce@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/14c5ba1485bd
Remove librlz and EME/GMP device binding code. r=gerald
https://hg.mozilla.org/integration/autoland/rev/57c613d80dc3
Move GMPLoader code out of plugin-container and back into XUL. r=gerald
https://hg.mozilla.org/integration/autoland/rev/6b3ca23424dc
Flatten GMPLoader and GMPLoaderImpl. r=gerald
https://hg.mozilla.org/integration/autoland/rev/6a31f295cd81
Don't require a SandboxStarter if MOZ_GMP_SANDBOX is not defined. r=jld
https://hg.mozilla.org/integration/autoland/rev/b599c9fa4080
Remove code to pass nodeId to GMP process. r=gerald
https://hg.mozilla.org/integration/autoland/rev/8977e2dfe179
Remove GMP enum storage names. r=gerald
Comment 22•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/14c5ba1485bd
https://hg.mozilla.org/mozilla-central/rev/57c613d80dc3
https://hg.mozilla.org/mozilla-central/rev/6b3ca23424dc
https://hg.mozilla.org/mozilla-central/rev/6a31f295cd81
https://hg.mozilla.org/mozilla-central/rev/b599c9fa4080
https://hg.mozilla.org/mozilla-central/rev/8977e2dfe179
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox54:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
You need to log in
before you can comment on or make changes to this bug.
Description
•